Skip to content

Commit

Permalink
fixed?
Browse files Browse the repository at this point in the history
  • Loading branch information
bomzheg committed Jul 29, 2024
1 parent 59302f8 commit a17460e
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,10 +1,10 @@
FROM python:3.11-buster as builder
FROM python:3.11-buster AS builder
ENV VIRTUAL_ENV=/opt/venv
ENV CODE_PATH=/code
RUN python3 -m venv $VIRTUAL_ENV
WORKDIR $CODE_PATH
COPY pyproject.toml ${CODE_PATH}/
RUN $VIRTUAL_ENV/bin/pip install .
COPY lock.txt ${CODE_PATH}/
RUN $VIRTUAL_ENV/bin/pip install -r lock.txt

FROM python:3.11-slim-buster
LABEL maintainer="bomzheg <[email protected]>" \
Expand Down

0 comments on commit a17460e

Please sign in to comment.