Skip to content

Commit

Permalink
Merge pull request #63 from NimsHub/development
Browse files Browse the repository at this point in the history
📸 update docker image
  • Loading branch information
NimsHub authored Oct 11, 2023
2 parents 302f575 + e2ada1e commit f9bb306
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,15 @@ COPY src/main/resources/data app/data
COPY src/main/resources/requirements.txt app/requirements.txt
WORKDIR /app
RUN apk add --update --no-cache python3
RUN python3 -m venv env
RUN source env/bin/activate
RUN ln -sf python3 /usr/bin/python
RUN python3 -m ensurepip
RUN apk add py-pip
RUN pip -v
RUN pip3 install --no-cache --upgrade pip setuptools
RUN apk add build-base
RUN apk add python3-dev
RUN pip3 install --no-cache --upgrade pip setuptools
RUN pip -V
RUN python3 -m venv env
RUN source env/bin/activate
RUN pip install -r requirements.txt
EXPOSE 5000
ENTRYPOINT ["java", "-jar","app.jar"]

0 comments on commit f9bb306

Please sign in to comment.