Skip to content

Commit

Permalink
Adding a package update step.
Browse files Browse the repository at this point in the history
  • Loading branch information
anjackson committed Feb 27, 2023
1 parent 015c0e2 commit c8eae53
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,17 @@
FROM python:3.10

# Update packages
RUN apt-get update && apt-get upgrade -y \
&& rm -rf /var/lib/apt/lists/*

# Set up working folder:
WORKDIR /usr/src/access

# Install dependencies:
COPY requirements.txt ./
RUN pip install --no-cache-dir -r requirements.txt

# Copy in app files:
COPY . .

# Somewhere to store multi-process metrics for Prometheus:
Expand Down

0 comments on commit c8eae53

Please sign in to comment.