Skip to content
This repository has been archived by the owner on Jun 16, 2024. It is now read-only.

Commit

Permalink
[更新] Dockerfileを最適化、イメージファイルを小さくした
Browse files Browse the repository at this point in the history
  • Loading branch information
Colk-tech committed Mar 16, 2021
1 parent fa69160 commit 0bd3203
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
FROM python:3.8.8
FROM python:3.8.8-slim
USER root
MAINTAINER Colk <[email protected]>

RUN apt-get update \
RUN apt-get update -y \
&& apt-get -y install locales \
&& apt-get install -y ffmpeg \
&& apt-get install -y --no-install-recommends \
&& apt-get -y clean \
&& rm -rf /var/lib/apt/lists/*

ENV LC_ALL ja_JP.UTF-8
ENV LC_ALL en_US.UTF-8
ENV TZ JST-9
ENV TERM xtermdocker-attachingdocker-attaching
RUN localedef -f UTF-8 -i ja_JP ja_JP.UTF-8
RUN localedef -f UTF-8 -i en_US en_US.UTF-8

RUN pip install --upgrade pip && pip install --upgrade setuptools

Expand Down

0 comments on commit 0bd3203

Please sign in to comment.