From 9f8f0c94ff6b0901a7614ff634e26d45e2b6868d Mon Sep 17 00:00:00 2001 From: ahoemann Date: Tue, 28 Jan 2025 07:43:02 +0000 Subject: [PATCH] Update Containerfile --- Containerfile | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/Containerfile b/Containerfile index d8812f0..6060264 100644 --- a/Containerfile +++ b/Containerfile @@ -5,12 +5,10 @@ ENV GIT_URL=https://git.adrianux.net ENV WEBSITE_URL=https://adrianux.net ENV DEBUG_MODE=False -RUN apk add --no-cache git python3 -RUN git clone https://git.adrianux.net/ahoemann/Adrianux.net.git /opt -RUN python3 -m venv /opt/.venv -RUN /opt/.venv/bin/pip install --no-cache-dir -r requirements.txt -RUN apk del git +RUN apk add go +COPY . . +RUN chmod +x website EXPOSE 8080 -CMD [ "/opt/.venv/bin/waitress-serve", "--listen=0.0.0.0:8080", "app:app" ] +CMD [ "/opt/./website" ] \ No newline at end of file