Skip to content
This repository was archived by the owner on Nov 21, 2025. It is now read-only.

Commit a9a117a

Browse files
committed
fix: container name references
1 parent 3798586 commit a9a117a

5 files changed

Lines changed: 5 additions & 6 deletions

File tree

docker-compose.development.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ services:
88
volumes:
99
- ./server:/app
1010
ports:
11-
- 3000:5000
11+
- 3000:3000
1212
frontend:
1313
volumes:
1414
- ./frontend:/app

frontend/Dockerfile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
11
FROM node:12-stretch
2-
# install MFE certs
32
# build the container
43
RUN npm install -g @vue/cli
54

65
WORKDIR /app
76
COPY ./package*.json ./
8-
RUN npm install
7+
RUN npm install --production --no-progress
98
RUN npm rebuild node-sass
109
COPY . .
1110
ENV VUE_APP_FLASK_HOST backend

frontend/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"e2e": "vue-cli-service e2e ",
1010
"lint": "vue-cli-service lint",
1111
"flask": "venv/bin/python server/__init__.py",
12-
"gunicorn": "venv/bin/gunicorn --error-logfile - --worker-class eventlet -w 1 server:app -b 0.0.0.0:5000",
12+
"gunicorn": "venv/bin/gunicorn --error-logfile - --worker-class eventlet -w 1 server:app -b 0.0.0.0:3000",
1313
"setup": "venv/bin/pip install -r requirements.txt && npm install",
1414
"e2e:open": "vue-cli-service e2e:open",
1515
"test:unit": "vue-cli-service test:unit"

frontend/vue.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ module.exports = {
2121
},
2222
proxy: {
2323
'/socket.io': {
24-
target: `http://${process.env.VUE_APP_FLASK_HOST}:3000`,
24+
target: `http://${process.env.VUE_APP_FLASK_HOST}:5000`,
2525
ws: true,
2626
changeOrigin: true
2727
},

server/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@ COPY requirements.txt requirements.txt
77
RUN pip install -r requirements.txt
88
COPY . .
99
ENV HOST 0.0.0.0
10-
EXPOSE 5000
10+
EXPOSE 3000
1111
CMD ["python", "app.py"]

0 commit comments

Comments
 (0)