Update Dockerfile
Browse files- Dockerfile +0 -8
Dockerfile
CHANGED
|
@@ -18,14 +18,6 @@ RUN apt-get update && apt-get install -y \
|
|
| 18 |
gnupg \
|
| 19 |
sqlite3 \
|
| 20 |
tzdata \
|
| 21 |
-
&& ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone && \
|
| 22 |
-
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg && \
|
| 23 |
-
echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/ubuntu $(. /etc/os-release && echo "$VERSION_CODENAME") stable" > /etc/apt/sources.list.d/docker.list && \
|
| 24 |
-
apt-get update && apt-get install -y docker-ce-cli && \
|
| 25 |
-
curl -L "https://github.com/docker/compose/releases/latest/download/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose && \
|
| 26 |
-
ln -s /usr/local/bin/docker-compose /usr/bin/docker-compose && \
|
| 27 |
-
chmod +x /usr/local/bin/docker-compose && \
|
| 28 |
-
apt-get clean && rm -rf /var/lib/apt/lists/*
|
| 29 |
WORKDIR /code
|
| 30 |
|
| 31 |
COPY ./requirements.txt /code/requirements.txt
|
|
|
|
| 18 |
gnupg \
|
| 19 |
sqlite3 \
|
| 20 |
tzdata \
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 21 |
WORKDIR /code
|
| 22 |
|
| 23 |
COPY ./requirements.txt /code/requirements.txt
|