Debian Codegraph @

examples/hello-python/Dockerfile

raw
1 FROM python:3.9-alpine
2
3 WORKDIR /usr/src/app
4
5 COPY requirements.txt ./
6 RUN pip install --no-cache-dir -r requirements.txt
7
8 COPY . .
9
10 CMD [ "python", "-m", "app.web" ]
11 EXPOSE 8080
12