forked from Mirrors/keyoxide-web
Improve docker builds
This commit is contained in:
parent
e4bbadf710
commit
a5040cb223
1 changed files with 3 additions and 6 deletions
|
@ -1,9 +1,6 @@
|
|||
FROM node:14
|
||||
RUN mkdir /app
|
||||
FROM node:14-alpine
|
||||
WORKDIR /app
|
||||
COPY package.json /app
|
||||
COPY yarn.lock /app
|
||||
COPY . .
|
||||
RUN yarn --production --pure-lockfile
|
||||
COPY . /app
|
||||
EXPOSE 3000
|
||||
CMD yarn start
|
Loading…
Reference in a new issue