Fix docker build
This commit is contained in:
parent
909b69392d
commit
91079c0420
2 changed files with 3 additions and 2 deletions
|
|
@ -7,8 +7,9 @@ RUN yarn && yarn run build
|
|||
|
||||
FROM node:14.13.0-alpine3.10
|
||||
|
||||
ENV NODE_ENV=production
|
||||
COPY backend/package.json .
|
||||
RUN yarn
|
||||
RUN npm i --production
|
||||
|
||||
COPY --from=build backend/dist/main.js main.js
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "declared-server",
|
||||
"version": "0.0.3",
|
||||
"version": "0.0.4",
|
||||
"description": "Game server for decla.red",
|
||||
"keywords": [],
|
||||
"author": "András Schmelczer <andras@schmelczer.dev> (https://schmelczer.dev/)",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue