#7 Made Dockerfile for backend
This commit is contained in:
10
backend/Dockerfile
Normal file
10
backend/Dockerfile
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
FROM python:3.10.9
|
||||||
|
|
||||||
|
WORKDIR /tmp
|
||||||
|
RUN python -m venv venv
|
||||||
|
COPY ./requirements.txt /code/requirements.txt
|
||||||
|
RUN python -m pip install -r /code/requirements.txt
|
||||||
|
|
||||||
|
WORKDIR /code
|
||||||
|
COPY ./ /code
|
||||||
|
CMD sh boot.sh
|
||||||
Reference in New Issue
Block a user