triy to fix script and requirements not being copied
All checks were successful
Build and Push Docker Images / build (push) Successful in 38s
All checks were successful
Build and Push Docker Images / build (push) Successful in 38s
This commit is contained in:
parent
dd10015927
commit
14cfc63afd
@ -1,12 +1,12 @@
|
|||||||
# Use the official Python image from the Docker Hub
|
# Use the official Python image from the Docker Hub
|
||||||
FROM python:3.9-slim-buster
|
FROM python:3.12-slim
|
||||||
|
|
||||||
# Set the working directory inside the container
|
# Set the working directory inside the container
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
# Copy the script and requirements.txt into the container at /app
|
# Copy the script and requirements.txt into the container at /app
|
||||||
COPY jobindex.py /app/
|
COPY ./jobindex.py /app/
|
||||||
COPY requirements.txt /app/
|
COPY ./requirements.txt /app/
|
||||||
|
|
||||||
# Install the required Python packages
|
# Install the required Python packages
|
||||||
RUN pip install -r requirements.txt
|
RUN pip install -r requirements.txt
|
||||||
|
Loading…
Reference in New Issue
Block a user