Skip to content

Commit

Permalink
Merge pull request #4 from Matsadura/backend-container
Browse files Browse the repository at this point in the history
[UPDATE] Restructure backend files & docker flask
  • Loading branch information
Badr-Annabi authored Sep 9, 2024
2 parents cbac858 + a717a92 commit 9fc0efd
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ services:
api:
build:
context: .
dockerfile: flask.dockerfile
dockerfile: server/flask.dockerfile
ports:
- "5000:5000"
volumes:
- ./api:/movie_name/api
- ./server:/movie_name/server

client:
build:
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion flask.dockerfile → server/flask.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ RUN pip3 install flask==2.1.0 werkzeug==2.1.1 flask-cors==4.0.1 sqlalchemy==1.4.

EXPOSE 5000

CMD ["python3", "-m", "api.app"]
CMD ["python3", "-m", "server.api.app"]

0 comments on commit 9fc0efd

Please sign in to comment.