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
|
FROM node:14-alpine AS build
|
||||||
|
|
||||||
ENV NODE_ENV=production
|
|
||||||
WORKDIR /usr/src/app
|
WORKDIR /usr/src/app
|
||||||
|
|
||||||
COPY package.json package-lock.json ./
|
COPY package.json package-lock.json ./
|
||||||
RUN npm install
|
RUN npm install
|
||||||
|
|
||||||
COPY . .
|
COPY . .
|
||||||
|
ENV NODE_ENV=production
|
||||||
RUN npm run build:app
|
RUN npm run build:app
|
||||||
|
|
||||||
FROM nginx:1.17-alpine
|
FROM nginx:1.17-alpine
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue