Reorder stuff in dockerfile to make builds faster

parent 652ce3e6
FROM jfloff/alpine-python:3.7-slim
RUN mkdir bits
COPY . /bits/
WORKDIR /bits
RUN apk -U add python3 py3-pip python3-dev py3-cffi alpine-sdk \
mariadb-connector-c-dev postgresql-dev && \
pip3 install --upgrade pip && \
......@@ -14,4 +10,9 @@ RUN mkdir -p /var/log/bitsd
EXPOSE 8008
EXPOSE 8888
RUN mkdir bits
COPY . /bits/
WORKDIR /bits
ENTRYPOINT ./bootstrap.py && ./bitsd.py
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment