mirror of
https://codeberg.org/keyoxide/doipjs.git
synced 2024-12-22 14:39:28 -07:00
Improve docker builds
This commit is contained in:
parent
e9ab9b1d0e
commit
1867491508
1 changed files with 3 additions and 11 deletions
|
@ -1,14 +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 run proxy
|
||||
CMD yarn run proxy
|
Loading…
Reference in a new issue