Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
iskoldt-X authored Mar 6, 2023
1 parent 9356981 commit e4ec721
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
FROM python:3.9-slim-buster as builder
RUN apt-get update && apt-get install -y build-essential
FROM python:3.9-alpine as builder
RUN apk add --no-cache build-base
COPY requirements.txt .
RUN pip install --user -r requirements.txt

FROM python:3.9-slim-buster
FROM python:3.9-alpine
MAINTAINER iskoldt
COPY --from=builder /root/.local /root/.local
ENV PATH=/root/.local/bin:$PATH
Expand Down

0 comments on commit e4ec721

Please sign in to comment.