Skip to content

Commit 9095ac2

Browse files
committed
ci: gitignore
1 parent fb391c8 commit 9095ac2

File tree

2 files changed

+20
-1
lines changed

2 files changed

+20
-1
lines changed

.gitignore

-1
Original file line numberDiff line numberDiff line change
@@ -160,4 +160,3 @@ cython_debug/
160160
#.idea/
161161
/node_modules
162162

163-
**/Dockerfile.dev

backend/Dockerfile.dev

+20
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)