Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
buremba committed May 16, 2024
1 parent adedc0b commit 06b702e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@ WORKDIR /app
RUN pip install 'poetry==1.8.3'
COPY pyproject.toml poetry.lock ./
# Install the dependencies first, so that we can cache them.
RUN poetry install --with test
RUN poetry install

# Copy everything. (Note: If needed, we can use .dockerignore to limit what's copied.)
COPY . .

# Install again, now that we've copied the jinjat package files. Otherwise,
# Jinjat itself won't be installed.
RUN poetry install --with test
RUN poetry install

EXPOSE 8581
ENV JINJAT_HOST=0.0.0.0
Expand Down

0 comments on commit 06b702e

Please sign in to comment.