fix: remove sourcemaps from production image
This commit is contained in:
parent
202af9e56e
commit
1326c0245f
2 changed files with 911 additions and 384 deletions
1293
package-lock.json
generated
1293
package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
@ -31,6 +31,6 @@ COPY --chown=${CUSTOM_USERNAME}:${CUSTOM_GROUPNAME} robots /app/robots/
|
||||||
# Install dependencies
|
# Install dependencies
|
||||||
USER ${CUSTOM_UID:-1000}:${CUSTOM_GID:-1000}
|
USER ${CUSTOM_UID:-1000}:${CUSTOM_GID:-1000}
|
||||||
RUN npm install
|
RUN npm install
|
||||||
RUN npx parcel build frontend/src/html/index.html
|
RUN npx parcel build --no-source-maps frontend/src/html/index.html
|
||||||
|
|
||||||
ENTRYPOINT ["caddy", "run", "--config", "/app/production.Caddyfile", "--adapter", "caddyfile"]
|
ENTRYPOINT ["caddy", "run", "--config", "/app/production.Caddyfile", "--adapter", "caddyfile"]
|
||||||
|
|
Loading…
Add table
Reference in a new issue