diff --git a/docker-compose.yml b/docker-compose.yml index 8fe3ae4..52d30e1 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -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: diff --git a/api/.env b/server/api/.env similarity index 100% rename from api/.env rename to server/api/.env diff --git a/api/__init__.py b/server/api/__init__.py similarity index 100% rename from api/__init__.py rename to server/api/__init__.py diff --git a/api/app.py b/server/api/app.py similarity index 100% rename from api/app.py rename to server/api/app.py diff --git a/flask.dockerfile b/server/flask.dockerfile similarity index 81% rename from flask.dockerfile rename to server/flask.dockerfile index c71f311..5d3729a 100644 --- a/flask.dockerfile +++ b/server/flask.dockerfile @@ -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"] \ No newline at end of file +CMD ["python3", "-m", "server.api.app"] \ No newline at end of file