mirror of
https://github.com/Dannecron/netology-devops.git
synced 2025-12-25 23:32:37 +03:00
fix typo for homeworks 13 directory
This commit is contained in:
14
src/homework/13-kubernetes-config/project/backend/Dockerfile
Normal file
14
src/homework/13-kubernetes-config/project/backend/Dockerfile
Normal file
@@ -0,0 +1,14 @@
|
||||
FROM python:3.9-buster
|
||||
|
||||
RUN mkdir /app && python -m pip install pipenv
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY Pipfile /app/Pipfile
|
||||
COPY Pipfile.lock /app/Pipfile.lock
|
||||
|
||||
RUN pipenv install
|
||||
|
||||
COPY main.py /app/main.py
|
||||
|
||||
CMD pipenv run uvicorn main:app --reload --host 0.0.0.0 --port 9000
|
||||
Reference in New Issue
Block a user