Skip to content

Commit

Permalink
add home to image
Browse files Browse the repository at this point in the history
  • Loading branch information
ikethecoder committed Dec 4, 2023
1 parent 7e93b59 commit 81e2286
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,17 @@ RUN apk add curl jq
USER node
WORKDIR /app

COPY --chown=node src/*.json ./
COPY src/*.json ./
RUN npm install --legacy-peer-deps

COPY --chown=node src ./
COPY src ./

ARG GITHUB_API_TOKEN
ENV COOKIE_SECRET=change_me

RUN NODE_OPTIONS=--openssl-legacy-provider npm run build

ENV HOME=/home/node

ENTRYPOINT [ "npm", "run" ]
CMD [ "start"]

0 comments on commit 81e2286

Please sign in to comment.