chore(): skaffold

This commit is contained in:
shokohsc
2021-08-11 13:44:12 +02:00
parent c1b61f9cd9
commit b3d6a8e30d
11 changed files with 233 additions and 1 deletions

16
Dockerfile.dev Normal file
View 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"]