You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
XPPL/Dockerfile

21 lines
328 B
Docker

FROM python:3-alpine
# Create app directory
WORKDIR /app
# Install app dependencies
COPY requirements.txt ./
RUN pip install -r requirements.txt
#imagemagick
ENV MAGICK_HOME=/usr
RUN apk add --no-cache imagemagick && \
apk add --no-cache imagemagick-dev
# Bundle app source
COPY . .
EXPOSE 8080
CMD [ "python3", "run.py"]