Skip to content

Commit f5d4d4c

Browse files
committed
PEER-255 Remove redundant code
Signed-off-by: SeeuSim <[email protected]>
1 parent 6903333 commit f5d4d4c

File tree

4 files changed

+1
-4
lines changed

4 files changed

+1
-4
lines changed
File renamed without changes.

backend/user/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
1919
4. Run this command to expose the container:
2020
```sh
21-
docker run -p 9001:9001 --env-file ./.env.local-docker-standalone user-express-local
21+
docker run -p 9001:9001 --env-file ./.env.docker user-express-local
2222
```
2323
2424
## Running with Docker-Compose (Main config)

backend/user/docker-compose.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ services:
2525
target: build
2626
args:
2727
# For building with the correct env vars
28-
- env=${EXPRESS_ENV}
2928
- port=${EXPRESS_PORT}
3029
ports:
3130
- "9001:${EXPRESS_PORT}"

backend/user/express.Dockerfile

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,13 @@ COPY package*.json ./
44
RUN npm install
55
ARG env
66
COPY . .
7-
# COPY ".env.${env}" .env
87
RUN npm run build
98

109
FROM node:lts-alpine AS production
1110
WORKDIR /data/user-express
1211
COPY --from=build /data/user-express/package*.json ./
1312
RUN npm ci --omit=dev
1413
COPY --from=build --chown=node:node /data/user-express/dist ./dist
15-
# COPY --from=build /data/user-express/.env .env
1614

1715
ARG port
1816
EXPOSE ${port}

0 commit comments

Comments
 (0)