Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
* update base image version to fix problem with repo
* remove usage of requirements.txt as it is not existing
  • Loading branch information
zerbarus authored Sep 2, 2022
1 parent 25631fb commit 1cfbf8c
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ubuntu:21.04
FROM ubuntu:22.04

# define the folder where our src should exist/ be deposited
ARG SRC=/python-seal
Expand All @@ -12,8 +12,7 @@ RUN apt update && \
mkdir -p ${SRC}

# copy into container requirements and install them before rest of code
COPY ./requirements.txt ${SRC}/.
RUN pip3 install -r ${SRC}/requirements.txt
RUN pip3 install numpy pybind11

# copy everything into container now that requirements stage is complete
COPY . ${SRC}
Expand Down

0 comments on commit 1cfbf8c

Please sign in to comment.