diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..ed2dfcf --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,10 @@ +version: "3" + +services: + server: + image: ai:latest + ports: + - 4003:4003 + volumes: + - ./:/app + restart: always \ No newline at end of file diff --git a/server/Dockerfile b/server/Dockerfile index 5e6cc9e..da71252 100644 --- a/server/Dockerfile +++ b/server/Dockerfile @@ -8,7 +8,7 @@ RUN pip3 install -r requirements.txt COPY . /app/ EXPOSE 4150 -WORKDIR /app/external_api +WORKDIR /app -ENTRYPOINT ["python", "main.py"] +ENTRYPOINT ["python", "server", "main.py"]