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
|
FROM node:14.13.0-alpine3.10
|
||||||
|
|
||||||
|
ENV NODE_ENV=production
|
||||||
COPY backend/package.json .
|
COPY backend/package.json .
|
||||||
RUN yarn
|
RUN npm i --production
|
||||||
|
|
||||||
COPY --from=build backend/dist/main.js main.js
|
COPY --from=build backend/dist/main.js main.js
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "declared-server",
|
"name": "declared-server",
|
||||||
"version": "0.0.3",
|
"version": "0.0.4",
|
||||||
"description": "Game server for decla.red",
|
"description": "Game server for decla.red",
|
||||||
"keywords": [],
|
"keywords": [],
|
||||||
"author": "András Schmelczer <andras@schmelczer.dev> (https://schmelczer.dev/)",
|
"author": "András Schmelczer <andras@schmelczer.dev> (https://schmelczer.dev/)",
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue