19 lines
225 B
Docker
19 lines
225 B
Docker
|
FROM python:3
|
||
|
|
||
|
WORKDIR /
|
||
|
|
||
|
|
||
|
COPY requirements.txt ./
|
||
|
RUN pip install --no-cache-dir -r requirements.txt
|
||
|
|
||
|
COPY . .
|
||
|
|
||
|
|
||
|
EXPOSE 80
|
||
|
CMD ["python3", "webserver.py"]
|
||
|
|
||
|
|
||
|
ENV AM_I_IN_A_DOCKER_CONTAINER Yes
|
||
|
|
||
|
RUN date >/build-date.txt
|