We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fb391c8 commit 9095ac2Copy full SHA for 9095ac2
.gitignore
@@ -160,4 +160,3 @@ cython_debug/
160
#.idea/
161
/node_modules
162
163
-**/Dockerfile.dev
backend/Dockerfile.dev
@@ -0,0 +1,20 @@
1
+# This dockerfile is used to build the development image for the backend
2
+FROM python:3.11-slim
3
+
4
+WORKDIR /app
5
6
+COPY . .
7
8
+RUN pip install pdm
9
10
+RUN pdm install
11
12
+WORKDIR /app/src
13
14
+EXPOSE 8000
15
16
+ENTRYPOINT ["sh", "-c", "\
17
+pdm run python -u ./worker/worker.py & \
18
+pdm run python -u ./worker/task_creator.py & \
19
+pdm run uvicorn main:app --host=0.0.0.0 --port=8000 --reload \
20
+"]
0 commit comments