17 lines
230 B
Docker
17 lines
230 B
Docker
# Init image
|
|
FROM python:slim
|
|
WORKDIR /app
|
|
|
|
# Install requirements
|
|
COPY requirements.txt .
|
|
RUN pip install --no-cache-dir -r requirements.txt
|
|
|
|
# Import app
|
|
COPY dockup .
|
|
RUN chmod +x dockup
|
|
|
|
# Run it
|
|
EXPOSE 8000
|
|
CMD ["./dockup"]
|
|
|