From 7f432d40ec9cce48320bbfe9dc30f44c54f20121 Mon Sep 17 00:00:00 2001 From: Yarmo Mackenbach Date: Mon, 28 Aug 2023 14:44:06 +0200 Subject: [PATCH] debug: debug Dockerfile --- Dockerfile | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 4efc4f8..96db0df 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,15 +4,19 @@ WORKDIR /app COPY . . RUN yarn --pure-lockfile -RUN yarn run build +RUN yarn run build:server +RUN yarn run build:static ### FROM node:16-alpine WORKDIR /app -COPY --from=builder /app /app -RUN rm -r /app/node_modules +COPY --from=builder /app/package.json /app/package.json +COPY --from=builder /app/dist /app/dist +COPY --from=builder /app/content /app/content +COPY --from=builder /app/views /app/views +COPY --from=builder /app/static /app/static EXPOSE 3000