mirror of
https://github.com/andwati/store-api.git
synced 2026-10-18 17:32:51 +00:00
23 lines
308 B
Docker
23 lines
308 B
Docker
FROM python:3.12
|
|
|
|
ENV PYTHONDONTWRITEBYTECODE 1
|
|
ENV PYTHONUNBUFFERED 1
|
|
|
|
RUN pip install pipenv
|
|
|
|
WORKDIR /app
|
|
|
|
COPY Pipfile Pipfile.lock /app/
|
|
|
|
RUN pipenv install
|
|
|
|
COPY . /app/
|
|
|
|
EXPOSE 8000
|
|
|
|
COPY ./docker-entrypoint.sh /docker-entrypoirnt.sh
|
|
|
|
RUN chmod +x /docker-entrypoint.sh
|
|
|
|
CMD ["/docker-entrypoint.sh"]
|