mirror of
https://codeberg.org/keyoxide/keyoxide-web.git
synced 2024-12-22 14:59:29 -07:00
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
|
||||
CMD yarn start
|
Loading…
Reference in a new issue