Skip to content

Commit

Permalink
Update Docker config to fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
t11r committed Oct 1, 2023
1 parent 9b9cdec commit 99a3a6f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,10 @@ RUN addgroup -S pptruser && adduser -S -G pptruser pptruser && \
USER pptruser

RUN npm install -g npm
RUN cd /app && \
npm ci && \
npm run build && \
rm -rf node_modules
RUN cd /app \
&& npm ci \
&& NODE_OPTIONS=--openssl-legacy-provider && npm run build \
&& rm -rf node_modules

FROM caddy:2-alpine

Expand Down

0 comments on commit 99a3a6f

Please sign in to comment.