mirror of
https://codeberg.org/keyoxide/keyoxide-web.git
synced 2024-12-22 23:09: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
|
FROM node:14-alpine
|
||||||
RUN mkdir /app
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
COPY package.json /app
|
COPY . .
|
||||||
COPY yarn.lock /app
|
|
||||||
RUN yarn --production --pure-lockfile
|
RUN yarn --production --pure-lockfile
|
||||||
COPY . /app
|
|
||||||
EXPOSE 3000
|
EXPOSE 3000
|
||||||
CMD yarn start
|
CMD yarn start
|
Loading…
Reference in a new issue