mirror of
https://github.com/pawelmalak/flame.git
synced 2026-03-07 13:03:12 +08:00
chore(): skaffold
This commit is contained in:
16
Dockerfile.dev
Normal file
16
Dockerfile.dev
Normal file
@@ -0,0 +1,16 @@
|
||||
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"]
|
||||
Reference in New Issue
Block a user