This commit is contained in:
Thomas E Lackey 2023-08-17 14:36:13 -05:00
parent 0acc9d1524
commit 0cc7909df8

View File

@ -1,14 +1,12 @@
# Build
FROM node:18-alpine3.15 as builder
WORKDIR /app
COPY . .
RUN rm -rf node_modules && rm -rf build && yarn install
RUN yarn build
# Run
FROM cerc/webapp-base:local
COPY config.yml /config
RUN mkdir -p /data
COPY --from=builder /app/build /data