Skip to content

Commit 332a4be

Browse files
authored
Update Dockerfile for debugging
1 parent b1c332c commit 332a4be

1 file changed

Lines changed: 6 additions & 7 deletions

File tree

frontend/Dockerfile

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,11 @@ COPY --chown=plone:plone ./frontend /app
2424
WORKDIR /app
2525

2626
# Install and build application
27-
RUN \
28-
corepack install &&\
29-
pnpm dlx mrs-developer missdev --hard --no-config --fetch-https &&\
30-
pnpm install &&\
31-
pnpm build &&\
32-
echo "Y" | pnpm prune --prod --no-optional &&\
27+
RUN corepack install
28+
RUN pnpm dlx mrs-developer missdev --hard --no-config --fetch-https
29+
RUN pnpm install
30+
RUN pnpm build
31+
RUN echo "Y" | pnpm prune --prod --no-optional &&\
3332
rm -rf .cache .local/share/pnpm/store &&\
3433
find . -name .git -exec rm -rfv {} +
3534

@@ -46,4 +45,4 @@ HEALTHCHECK --interval=10s --timeout=5s --start-period=30s CMD [ -n "$LISTEN_POR
4645
ENTRYPOINT [ "pnpm" ]
4746

4847
# And the image will run in production mode
49-
CMD ["start:prod"]
48+
CMD ["start:prod"]

0 commit comments

Comments
 (0)