Remove env from the dockerfile and add it to the makefile
All checks were successful
Docker Build & Push / build-and-publish (push) Successful in 42s

This commit is contained in:
Logan Cusano
2025-11-19 03:25:39 -05:00
parent edf59cb9df
commit 5e885dab54
2 changed files with 1 additions and 1 deletions

View File

@@ -12,7 +12,6 @@ RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
# Copy the application code into the container
COPY ./app /code/app
COPY ./.env /code/.env
# Expose port 80 to the outside world
EXPOSE 80

View File

@@ -9,6 +9,7 @@ build:
run: build
docker run --rm -it \
-v /mnt/shadowplays/TWIMG-Eligible:/videos:ro \
-v .env:/code/.env:re \
--name $(CONTAINER_NAME) \
-p 8000:8000 \
$(IMAGE_NAME)