-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #811 from telefonicaid/task/remove_unnecesarry_env…
…_vars_from_dockerfile Update Dockerfile: remove unnecessary env vars
- Loading branch information
Showing
2 changed files
with
1 addition
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
- Fix: deprecated mongo warnings about save and remove methods (#806) | ||
- Fix: remove unnecessary env vars (PERSEO_MONGO_HOST and PERSEO_CORE_URL) from Dockerfile (#810) | ||
- Upgrade express from 4.19.2 to 4.20.0 | ||
- Upgrade body-parser dep from 1.18.2 to 1.20.3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|
@@ -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 | ||
|
@@ -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 | ||
|