Skip to content

Commit

Permalink
fix docker image
Browse files Browse the repository at this point in the history
  • Loading branch information
auguwu committed Jul 25, 2023
1 parent 04242e9 commit f96ba88
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@ FROM node:20.5.0-alpine3.18
RUN apk update && apk add --no-cache ca-certificates bash tini curl
WORKDIR /app/noel/site

COPY --from=build /build/dist /app/noel/site/dist
COPY --from=build /build/node_modules /app/noel/site/node_modules
COPY --from=build /build/dist /app/noel/site/dist

RUN addgroup -g 1001 noel && \
adduser -DSH -u 1001 -G noel noel && \
Expand Down

0 comments on commit f96ba88

Please sign in to comment.