Skip to content

Commit edc2a99

Browse files
authored
Merge pull request #42 from IBM/non-root
Run as non root
2 parents 99c6889 + 5885fc3 commit edc2a99

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

Dockerfile

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,20 +14,18 @@
1414
# limitations under the License.
1515
#
1616

17-
FROM quay.io/codait/max-base:v1.3.2
17+
FROM quay.io/codait/max-base:v1.4.0
1818

1919
ARG model_bucket=https://max-cdn.cdn.appdomain.cloud/max-image-resolution-enhancer/1.0.0
2020
ARG model_file=assets.tar.gz
2121

22-
WORKDIR /workspace
23-
2422
RUN wget -nv --show-progress --progress=bar:force:noscroll ${model_bucket}/${model_file} --output-document=assets/${model_file} && \
2523
tar -x -C assets/ -f assets/${model_file} -v && rm assets/${model_file}
2624

27-
COPY requirements.txt /workspace
25+
COPY requirements.txt .
2826
RUN pip install -r requirements.txt
2927

30-
COPY . /workspace
28+
COPY . .
3129

3230
# check file integrity
3331
RUN sha512sum -c sha512sums.txt

0 commit comments

Comments
 (0)