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