adaugat lab4 si lab5
Signed-off-by: hellisabove <robertnedela15@gmail.com>
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
FROM alpine:edge
|
||||
|
||||
RUN apk add --update py3-pip
|
||||
RUN python3 -m venv /venv
|
||||
|
||||
ENV PATH="/venv/bin:$PATH"
|
||||
|
||||
COPY requirements.txt /usr/src/app/
|
||||
RUN pip install --no-cache-dir -r /usr/src/app/requirements.txt
|
||||
|
||||
COPY app.py /usr/src/app/
|
||||
COPY templates/index.html /usr/src/app/templates/
|
||||
|
||||
EXPOSE 5000
|
||||
|
||||
CMD ["python3", "/usr/src/app/app.py"]
|
||||
Reference in New Issue
Block a user