From 7356a2ff074a8be7d96e74175a1c2308d46c2ba9 Mon Sep 17 00:00:00 2001 From: Alex Date: Fri, 7 Feb 2025 18:39:07 +0000 Subject: [PATCH] fix: minor docker fixes --- .devcontainer/docker-compose.override.yaml | 2 +- application/Dockerfile | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/.devcontainer/docker-compose.override.yaml b/.devcontainer/docker-compose.override.yaml index dabd8ca7..979bf48f 100644 --- a/.devcontainer/docker-compose.override.yaml +++ b/.devcontainer/docker-compose.override.yaml @@ -6,7 +6,7 @@ services: context: . dockerfile: Dockerfile volumes: - - .:/workspace:cached + - ../:/workspace:cached command: sleep infinity depends_on: redis: diff --git a/application/Dockerfile b/application/Dockerfile index 27213072..308b721b 100644 --- a/application/Dockerfile +++ b/application/Dockerfile @@ -6,7 +6,6 @@ ENV DEBIAN_FRONTEND=noninteractive RUN apt-get update && \ apt-get install -y software-properties-common && \ add-apt-repository ppa:deadsnakes/ppa && \ -# Install necessary packages and Python apt-get update && \ apt-get install -y --no-install-recommends gcc wget unzip libc6-dev python3.12 python3.12-venv && \ rm -rf /var/lib/apt/lists/* @@ -49,7 +48,6 @@ FROM ubuntu:24.04 as final RUN apt-get update && \ apt-get install -y software-properties-common && \ add-apt-repository ppa:deadsnakes/ppa && \ -# Install Python apt-get update && apt-get install -y --no-install-recommends python3.12 && \ ln -s /usr/bin/python3.12 /usr/bin/python && \ rm -rf /var/lib/apt/lists/*