mirror of
https://git.v0id.ovh/n3wt-innov/n3wt-school.git
synced 2026-01-28 15:33:22 +00:00
16 lines
381 B
Docker
16 lines
381 B
Docker
# Dockerfile
|
|
|
|
# The first instruction is what image we want to base our container on
|
|
# We Use an official Python runtime as a parent image
|
|
FROM python:3.12.7
|
|
WORKDIR /Back-End
|
|
|
|
# Allows docker to cache installed dependencies between builds
|
|
COPY requirements.txt requirements.txt
|
|
RUN pip install -r requirements.txt
|
|
|
|
# Mounts the application code to the image
|
|
COPY . .
|
|
|
|
EXPOSE 8080
|