1
0
Fork 0
mirror of https://github.com/pawelmalak/flame.git synced 2025-08-08 20:25:16 +02:00

Pushed version 1.7.4

This commit is contained in:
Paweł Malak 2021-11-08 15:42:32 +01:00
parent 9db46faabe
commit 4f2ba0a96d
7 changed files with 26 additions and 31 deletions

View file

@ -1,15 +1,12 @@
FROM node:14-alpine as builder
RUN apk update && apk add --no-cache nano curl
FROM node:14 as builder
WORKDIR /app
COPY package*.json ./
RUN apk --no-cache --virtual build-dependencies add python make g++ \
&& npm install --production
RUN npm install --production
COPY . .
COPY . .
RUN mkdir -p ./public ./data \
&& cd ./client \
@ -17,8 +14,7 @@ RUN mkdir -p ./public ./data \
&& npm run build \
&& cd .. \
&& mv ./client/build/* ./public \
&& rm -rf ./client \
&& apk del build-dependencies
&& rm -rf ./client
FROM node:14-alpine