Skip to content

Commit 1357dfd

Browse files
Update Dockerfile
1 parent dc6e34b commit 1357dfd

1 file changed

Lines changed: 3 additions & 6 deletions

File tree

Dockerfile

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,18 +5,15 @@ WORKDIR /app
55
RUN apt update -y && apt install -y git build-essential tree
66

77
# Clone the repository
8-
RUN git clone https://github.com/SkyTheCodeMaster/upc-api.git /app/upc-api
8+
RUN git clone https://github.com/SkyTheCodeMaster/upc-api.git /app/
99

1010
# Copy the current directory into the cloned repo
1111

1212
# Install requirements
1313
RUN pip install --upgrade pip
14-
RUN pip install --no-cache-dir -r ./upc-api/src/requirements.txt
14+
RUN pip install --no-cache-dir -r ./src/requirements.txt
1515

16-
# Verify the contents of the directory
17-
RUN ls -R ./upc-api
18-
19-
COPY . .
16+
COPY /app/src/ /app/src/
2017

2118
# Run the main script
2219
#CMD ["python", "/app/upc-api/src/main.py"]

0 commit comments

Comments
 (0)