Update Dockerfile to set correct name in package-lock.json

This commit is contained in:
2026-07-30 19:38:37 -07:00
parent 772506e06d
commit cea68e645c

View File

@@ -1,6 +1,6 @@
FROM node:latest
WORKDIR /usr/src/
WORKDIR /opt/mojo_app/
COPY mojo_app/package.json .
COPY mojo_app/package-lock.json .
@@ -14,10 +14,10 @@ COPY cpanfile .
COPY cpanfile.snapshot .
COPY mojo_app ./mojo_app/
RUN cpanm Carton && carton install
RUN cpanm -nv Carton && carton install
WORKDIR /opt/app/mojo_app/
COPY --from=0 /usr/src/ .
COPY --from=0 /opt/mojo_app/ .
EXPOSE 3000