prepare production dockerfiles and env

This commit is contained in:
2024-12-02 01:24:46 +02:00
parent b3b8637f0e
commit 62b975ab72
9 changed files with 97 additions and 22 deletions

View File

@@ -6,10 +6,10 @@ COPY Pipfile Pipfile.lock ./
RUN pip install pipenv && \
pipenv install --system --deploy && \
pip install flask-cors
pip install flask-cors tinydb
# Create necessary directories for data storage
RUN mkdir -p /app/surveys/quiz
# Create directory for database
RUN mkdir -p /app/data
COPY . .