CHORE: Updated dockerfile to include entrypoint

This commit is contained in:
Luke Else 2024-02-18 20:06:12 +00:00
parent 02f69f2e68
commit 59c94e6c51
2 changed files with 2 additions and 1 deletions

View File

@ -9,4 +9,5 @@ services:
- "8080:8080"
volumes:
- ./files:/app/static/assets/img/products/
- ./data:/app/data/
restart: unless-stopped

View File

@ -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"]
ENTRYPOINT ["scripts/run.bash"]