Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 1 addition & 5 deletions stackl/agent/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,10 @@ RUN microdnf install -y python38 && \
# Copy only requirements to cache them in docker layer
WORKDIR /app

COPY stackl/agent/poetry.lock stackl/agent/pyproject.toml /app/

COPY stackl/agent/. /app

# Project initialization:
RUN poetry config virtualenvs.create false \
&& poetry install --no-dev --no-interaction --no-ansi

# Creating folders, and files for a project:
COPY stackl/agent/. /app

CMD ["arq", "agent.main.AgentSettings"]
7 changes: 2 additions & 5 deletions stackl/core/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,16 +26,13 @@ RUN chmod +x /start-reload.sh
# Copy only requirements to cache them in docker layer
WORKDIR /app

COPY stackl/core/poetry.lock stackl/core/pyproject.toml /app/
COPY stackl/core/. /app
ENV PYTHONPATH=/app

# Project initialization:
RUN poetry config virtualenvs.create false \
&& poetry install --no-dev --no-interaction --no-ansi

# Creating folders, and files for a project:
COPY stackl/core/. /app
ENV PYTHONPATH=/app

EXPOSE 8080

# Run the start script, it will check for an /app/prestart.sh script (e.g. for migrations)
Expand Down