mirror of
https://github.com/pawelmalak/flame.git
synced 2024-12-18 23:41:39 +03:00
8681f75bab
* chore(): skaffold
* chore(): kubernetes integration
* chore(skaffold): refine shokohsc profile
* chore(): removed docker & kubernetes from database + stoppedApp pin option
* Revert "chore(): removed docker & kubernetes from database + stoppedApp pin option"
This reverts commit 5111c7ad79
.
17 lines
326 B
Docker
17 lines
326 B
Docker
FROM node:lts-alpine as build-front
|
|
RUN apk add --no-cache curl
|
|
WORKDIR /app
|
|
COPY ./client .
|
|
RUN npm install --production \
|
|
&& npm run build
|
|
|
|
FROM node:lts-alpine
|
|
WORKDIR /app
|
|
RUN mkdir -p ./public
|
|
COPY --from=build-front /app/build/ ./public
|
|
|
|
COPY package*.json ./
|
|
RUN npm install
|
|
COPY . .
|
|
CMD ["npm", "run", "skaffold"]
|