Skip to content

Commit

Permalink
minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxDragonheart committed Dec 26, 2024
1 parent 507f921 commit 3fa4997
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# syntax=docker/dockerfile:1

# Official Ubuntu Image as Layer
FROM ubuntu:22.04 as os
FROM ubuntu:22.04 AS os

# LABEL about the custom image
LABEL maintainer="Massimiliano Moraca <[email protected]>"
Expand All @@ -28,14 +28,14 @@ ENV TZ=Etc/UTC
RUN aptitude install -y tzdata

# OS as Layer
FROM os as python-os
FROM os AS python-os

# Set Python environment variables
# Prevents Python from writing pyc files to disc
ENV PYTHONDONTWRITEBYTECODE 1
ENV PYTHONDONTWRITEBYTECODE=1

# Prevents Python from buffering stdout and stderr
ENV PYTHONUNBUFFERED 1
ENV PYTHONUNBUFFERED=1

# Install python and upgrade pip
RUN aptitude install -y \
Expand All @@ -54,7 +54,7 @@ RUN pip3 install --upgrade wheel pillow setuptools
RUN pip3 install poetry

# Python OS as Layer
FROM python-os as gis-os
FROM python-os AS gis-os

# Installing Geospatial libraries
RUN aptitude install -y \
Expand Down

0 comments on commit 3fa4997

Please sign in to comment.