Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
AlvaroVega authored Oct 31, 2024
1 parent 496a9e9 commit b07cbc7
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -137,8 +137,6 @@ COPY --from=builder /opt/perseo-fe /opt/perseo-fe
RUN npm install [email protected] -g --no-package-lock --no-optional

USER node
ENV PERSEO_MONGO_HOST=mongodb
ENV PERSEO_CORE_URL=http://corehost:8080
ENV NODE_ENV=production

# Expose 9090 for HTTP PORT
Expand Down Expand Up @@ -181,8 +179,6 @@ COPY --from=anon-user /etc/passwd /etc/shadow /etc/group /etc/
WORKDIR /opt/perseo-fe

USER nobody
ENV PERSEO_MONGO_HOST=mongodb
ENV PERSEO_CORE_URL=http://corehost:8080
ENV NODE_ENV=production

# Expose 9090 for HTTP PORT
Expand Down Expand Up @@ -223,8 +219,6 @@ RUN \
rm -rf /var/lib/apt/lists/*

USER node
ENV PERSEO_MONGO_HOST=mongodb
ENV PERSEO_CORE_URL=http://corehost:8080
ENV NODE_ENV=production

# Expose 9090 for HTTP PORT
Expand Down

0 comments on commit b07cbc7

Please sign in to comment.