-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
minor deprecation fixes docker files
- Loading branch information
1 parent
7a9d22f
commit 09d211b
Showing
3 changed files
with
4 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,14 @@ | ||
# build stage | ||
FROM node:14.11.0 as build-stage | ||
FROM node:14.11.0 AS build-stage | ||
WORKDIR /app | ||
COPY package*.json /app/ | ||
RUN npm install | ||
COPY . /app/ | ||
RUN npm run build | ||
|
||
# production stage | ||
FROM alpine:3.12 as production-stage | ||
FROM alpine:3.12 AS production-stage | ||
RUN mkdir -p /vue | ||
COPY --from=build-stage /app/dist /vue | ||
|
||
CMD ["tail", "-f", "/dev/null"] | ||
CMD ["tail", "-f", "/dev/null"] |