mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
docker build : install devDependencies so the build succeed (#1625)
This commit is contained in:
parent
584e4182a7
commit
fb897c75a7
1 changed files with 1 additions and 1 deletions
|
@ -1,12 +1,12 @@
|
|||
FROM node:14-alpine AS build
|
||||
|
||||
ENV NODE_ENV=production
|
||||
WORKDIR /usr/src/app
|
||||
|
||||
COPY package.json package-lock.json ./
|
||||
RUN npm install
|
||||
|
||||
COPY . .
|
||||
ENV NODE_ENV=production
|
||||
RUN npm run build:app
|
||||
|
||||
FROM nginx:1.17-alpine
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue