Skip to content

Commit 2ffa133

Browse files
committed
deleted src folder
1 parent 463fab9 commit 2ffa133

15 files changed

Lines changed: 25 additions & 482 deletions

Dockerfile_testapp

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# Use the official Python image from the Docker Hub
2+
FROM python:3.9-slim
3+
4+
# Set the working directory in the container
5+
WORKDIR /app
6+
7+
# Copy the requirements file into the container
8+
COPY src/testapp/requirements.txt .
9+
10+
# Install the dependencies
11+
RUN pip install --no-cache-dir -r requirements.txt
12+
13+
# Copy the rest of the application code into the container
14+
COPY src/testapp /app
15+
16+
# Set environment variables
17+
ENV FLASK_APP=app.py
18+
ENV FLASK_RUN_HOST=0.0.0.0
19+
ENV FLASK_RUN_PORT=8080
20+
21+
# Expose the port the app runs on
22+
EXPOSE 8080
23+
24+
# Run the application
25+
CMD ["flask", "run"]

src/.dockerignore

Lines changed: 0 additions & 12 deletions
This file was deleted.

src/README.md

Lines changed: 0 additions & 42 deletions
This file was deleted.

src/api_test_client/api_test_client.py

Lines changed: 0 additions & 45 deletions
This file was deleted.

src/api_test_client/requirements.txt

Lines changed: 0 additions & 1 deletion
This file was deleted.

src/apiapp/app.py

Lines changed: 0 additions & 67 deletions
This file was deleted.

src/apiapp/requirements.txt

Lines changed: 0 additions & 2 deletions
This file was deleted.

src/apiapp/templates/check_orders.html

Lines changed: 0 additions & 47 deletions
This file was deleted.

src/apiapp/templates/index.html

Lines changed: 0 additions & 12 deletions
This file was deleted.

src/apiapp_with_oauth/Authentication-with-OAuth.md

Lines changed: 0 additions & 62 deletions
This file was deleted.

0 commit comments

Comments
 (0)