File tree Expand file tree Collapse file tree 2 files changed +3
-10
lines changed Expand file tree Collapse file tree 2 files changed +3
-10
lines changed Original file line number Diff line number Diff line change @@ -18,14 +18,10 @@ RUN microdnf install -y python38 && \
1818# Copy only requirements to cache them in docker layer
1919WORKDIR /app
2020
21- COPY stackl/agent/poetry.lock stackl/agent/pyproject.toml /app/
22-
21+ COPY stackl/agent/. /app
2322
2423# Project initialization:
2524RUN poetry config virtualenvs.create false \
2625 && poetry install --no-dev --no-interaction --no-ansi
2726
28- # Creating folders, and files for a project:
29- COPY stackl/agent/. /app
30-
3127CMD ["arq" , "agent.main.AgentSettings" ]
Original file line number Diff line number Diff line change @@ -26,16 +26,13 @@ RUN chmod +x /start-reload.sh
2626# Copy only requirements to cache them in docker layer
2727WORKDIR /app
2828
29- COPY stackl/core/poetry.lock stackl/core/pyproject.toml /app/
29+ COPY stackl/core/. /app
30+ ENV PYTHONPATH=/app
3031
3132# Project initialization:
3233RUN poetry config virtualenvs.create false \
3334 && poetry install --no-dev --no-interaction --no-ansi
3435
35- # Creating folders, and files for a project:
36- COPY stackl/core/. /app
37- ENV PYTHONPATH=/app
38-
3936EXPOSE 8080
4037
4138# Run the start script, it will check for an /app/prestart.sh script (e.g. for migrations)
You can’t perform that action at this time.
0 commit comments