mirror of
https://github.com/andwati/store-api.git
synced 2026-11-03 08:12:15 +00:00
added docker
This commit is contained in:
+22
@@ -0,0 +1,22 @@
|
||||
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"]
|
||||
Reference in New Issue
Block a user