Commit 5a66e167 authored by Muhammad Umair Khan's avatar Muhammad Umair Khan
Browse files

fix acme docker file

parent 94f2bcc7
Loading
Loading
Loading
Loading
+2 −6
Original line number Diff line number Diff line
@@ -47,13 +47,9 @@ RUN git clone --branch development https://github.com/ankraft/ACME-oneM2M-CSE.gi

WORKDIR /usr/src/app/ACME-oneM2M-CSE

# Install Python dependencies before copying frequently-changing files
# so this layer can be reused from cache.
RUN pip3 install -r requirements.txt --break-system-packages

# Copy local customizations
COPY ./data /usr/src/app/ACME-oneM2M-CSE

RUN chmod +x entrypoint.sh
RUN chmod +x entrypoint.sh \
  && pip3 install --no-cache-dir -r requirements.txt --break-system-packages

ENTRYPOINT ["./entrypoint.sh"]
 No newline at end of file
+4 −6
Original line number Diff line number Diff line
@@ -54,12 +54,10 @@ RUN git clone --branch development https://github.com/ankraft/ACME-oneM2M-CSE.gi

WORKDIR /usr/src/app/ACME-oneM2M-CSE

# Install dependencies before copying your custom files
RUN pip3 install -r requirements.txt --break-system-packages

# Copy files that change frequently afterwards
COPY ./data /usr/src/app/ACME-oneM2M-CSE

RUN chmod +x entrypoint.sh
RUN chmod +x entrypoint.sh \
  && pip3 install --no-cache-dir -r requirements.txt --break-system-packages

ENTRYPOINT ["./entrypoint.sh"]