1
0
mirror of https://github.com/krateng/maloja.git synced 2023-08-10 21:12:55 +03:00

More logic Dockerfile ordering

This commit is contained in:
Marco Aceti 2020-01-21 15:27:27 +01:00
parent 98d80d3d11
commit 2004f7690f
No known key found for this signature in database
GPG Key ID: E4ABA81298E4F14D

View File

@ -1,13 +1,14 @@
FROM python:slim FROM python:slim
WORKDIR /usr/src/app WORKDIR /usr/src/app
COPY . .
RUN apt-get update -y RUN apt-get update -y
RUN apt-get install gcc -y RUN apt-get install gcc -y
COPY requirements.txt .
RUN pip3 install -r requirements.txt RUN pip3 install -r requirements.txt
EXPOSE 42010 EXPOSE 42010
COPY . .
ENTRYPOINT ./maloja start ENTRYPOINT ./maloja start