Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM node:22-alpine

ENV NODE_NO_WARNINGS 1
ENV user node
ENV NODE_NO_WARNINGS=1
ENV user=node
ENV PATH=/home/node/.npm-global/bin:$PATH
ENV NPM_CONFIG_PREFIX=/home/node/.npm-global

Expand All @@ -14,8 +14,8 @@ USER $user
RUN mkdir /home/$user/.npm-global

WORKDIR /home/$user/app
RUN npm install
RUN npm run build
RUN npm -g install . --no-optional
RUN npm ci && \
npm run build && \
npm -g install . --no-optional

ENTRYPOINT ["iexec"]
Loading