File: Dockerfile

package info (click to toggle)
python-hug 2.6.0-2.4
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 4,072 kB
  • sloc: python: 8,938; sh: 99; makefile: 17
file content (17 lines) | stat: -rw-r--r-- 274 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# Use Python 3.6
FROM python:3.6

# Set working directory
RUN mkdir /app
WORKDIR /app

# Add all files to app directory
ADD . /app

# Install gunicorn
RUN apt-get update && \
    apt-get install -y && \
    pip3 install gunicorn

# Run setup.py
RUN python3 setup.py install