diff --git a/cicd/Deployment/docker-compose.yml b/cicd/Deployment/docker-compose.yml index 70f5ef4..f2e3753 100644 --- a/cicd/Deployment/docker-compose.yml +++ b/cicd/Deployment/docker-compose.yml @@ -9,4 +9,5 @@ services: - "8080:8080" volumes: - ./files:/app/static/assets/img/products/ + - ./data:/app/data/ restart: unless-stopped \ No newline at end of file diff --git a/dockerfile b/dockerfile index 1025989..7d4a91b 100644 --- a/dockerfile +++ b/dockerfile @@ -4,4 +4,4 @@ WORKDIR /app RUN pip install -r requirements.txt COPY . /app RUN chmod +x scripts/run.bash -CMD ["bash", "scripts/run.bash"] \ No newline at end of file +ENTRYPOINT ["scripts/run.bash"] \ No newline at end of file