This repository has been archived on 2025-04-28. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
GestionaleITSPy/GestionaleITS/dockerfile
2024-10-09 21:10:49 +02:00

25 lines
485 B
Plaintext

# Copyright (C) 2024 Nastro_
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at https://mozilla.org/MPL/2.0/.
FROM python:3.12.6-alpine3.20
ENV PORT=8000
ENV BUILD="false"
WORKDIR /gestionale
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY . .
EXPOSE ${PORT}
RUN chmod a+x ./startup.sh
CMD ["/bin/sh", "-c", "./startup.sh"]