We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dc6e34b commit 1357dfdCopy full SHA for 1357dfd
1 file changed
Dockerfile
@@ -5,18 +5,15 @@ WORKDIR /app
5
RUN apt update -y && apt install -y git build-essential tree
6
7
# Clone the repository
8
-RUN git clone https://github.com/SkyTheCodeMaster/upc-api.git /app/upc-api
+RUN git clone https://github.com/SkyTheCodeMaster/upc-api.git /app/
9
10
# Copy the current directory into the cloned repo
11
12
# Install requirements
13
RUN pip install --upgrade pip
14
-RUN pip install --no-cache-dir -r ./upc-api/src/requirements.txt
+RUN pip install --no-cache-dir -r ./src/requirements.txt
15
16
-# Verify the contents of the directory
17
-RUN ls -R ./upc-api
18
-
19
-COPY . .
+COPY /app/src/ /app/src/
20
21
# Run the main script
22
#CMD ["python", "/app/upc-api/src/main.py"]
0 commit comments