modern build

This commit is contained in:
2020-09-20 16:29:32 +02:00
parent 28488a1998
commit 5597cc54cf
2 changed files with 80 additions and 138 deletions

View File

@@ -3,5 +3,5 @@ WORKDIR /app
COPY package*.json ./
RUN npm install
COPY . .
RUN npm run build
RUN npm run build --modern
CMD ["node", "server"]