Skip to content

Commit

Permalink
mod port for docker
Browse files Browse the repository at this point in the history
  • Loading branch information
ruoccofabrizio committed May 18, 2023
1 parent 5279380 commit 80f3a2e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions WebApp.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,5 @@ RUN pip install --no-cache-dir -r /usr/src/app/requirements.txt \
COPY . /usr/src/app/
COPY --from=frontend /home/node/app/ /usr/src/app/frontend/
WORKDIR /usr/src/app
EXPOSE 5000
CMD ["uwsgi", "--http", ":5000", "--wsgi-file", "app.py", "--callable", "app", "--processes", "4", "--threads", "2", "--uid", "guest"]
EXPOSE 80
CMD ["uwsgi", "--http", ":80", "--wsgi-file", "app.py", "--callable", "app"]
1 change: 1 addition & 0 deletions WebApp.dockerignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
.venv
.env
WebApp.Dockerfile
WebApp.dockerignore
frontend/node_modules

0 comments on commit 80f3a2e

Please sign in to comment.