Skip to content

Commit

Permalink
build: update Dockerfile to base image python:3-slim (cloudforet-io#6)
Browse files Browse the repository at this point in the history
  • Loading branch information
jiyungSong committed Feb 15, 2023
1 parent e8ab826 commit 6364844
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 SPACEONE_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 && \
pip install --upgrade -r ${PKG_DIR}/pip_requirements.txt && \
Expand Down

0 comments on commit 6364844

Please sign in to comment.