Commit aa14d56d authored by Nane Kratzke's avatar Nane Kratzke
Browse files

Fixed Dockerfile

parent f29584d5
FROM python:3.9-alpine
COPY . /app/
WORKDIR /app
COPY api.py /app/api.py
COPY requirements.txt /app/requirements.txt
COPY books.db /app/books.db
RUN pip3 install -r requirements.txt
RUN pip3 install -r /app/requirements.txt
EXPOSE 5000
ENTRYPOINT ["python3", "-u", "api.py"]
ENTRYPOINT ["python3", "-u", "/app/api.py"]
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment