Skip to content
Snippets Groups Projects
Unverified Commit e586916c authored by Mathijs van Gorcum's avatar Mathijs van Gorcum Committed by GitHub
Browse files

Move COPY before RUN and merge RUNs

parent b7e7712f
No related branches found
No related tags found
No related merge requests found
FROM docker.io/python:2-alpine3.8 FROM docker.io/python:2-alpine3.8
COPY . /synapse
RUN apk add --no-cache --virtual .nacl_deps \ RUN apk add --no-cache --virtual .nacl_deps \
build-base \ build-base \
libffi-dev \ libffi-dev \
...@@ -9,12 +11,10 @@ RUN apk add --no-cache --virtual .nacl_deps \ ...@@ -9,12 +11,10 @@ RUN apk add --no-cache --virtual .nacl_deps \
linux-headers \ linux-headers \
postgresql-dev \ postgresql-dev \
su-exec \ su-exec \
zlib-dev zlib-dev \
COPY . /synapse
# A wheel cache may be provided in ./cache for faster build # A wheel cache may be provided in ./cache for faster build
RUN cd /synapse \ && cd /synapse \
&& pip install --upgrade \ && pip install --upgrade \
lxml \ lxml \
pip \ pip \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment