Skip to content

Commit

Permalink
build: update Dockerfile to base image python:3-slim (cloudforet-io#1)
Browse files Browse the repository at this point in the history
  • Loading branch information
jiyungSong committed Feb 14, 2023
1 parent 035e401 commit 1d73203
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
FROM python:3.8
FROM python:3-slim

ENV PYTHONUNBUFFERED 1
ENV CLOUDONE_PORT 50051
ENV SERVER_TYPE grpc
ENV PKG_DIR /tmp/pkg
ENV SRC_DIR /tmp/src

RUN apt update && apt upgrade -y

COPY pkg/*.txt ${PKG_DIR}/

RUN pip install --upgrade pip && \
Expand Down

0 comments on commit 1d73203

Please sign in to comment.