8000 Create Dockerfile · threatcode/Goporting-Python@07bf10d · GitHub
[go: up one dir, main page]

Skip to content

Commit 07bf10d

Browse files
author
Md Sulaiman
authored
Create Dockerfile
1 parent 71dc60b commit 07bf10d

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

Dockerfile

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
FROM python:3.10-slim
2+
3+
ENV PYTHONUNBUFFERED True
4+
5+
ENV APP_HOME /app
6+
7+
WORKDIR $APP_HOME
8+
COPY . ./
9+
10+
RUN apt-get update && apt-get install -y libpq-dev build-essential
11+
12+
RUN pip install --no-cache-dir -r requirments.txt
13+
14+
CMD [ "python", "./setup.py" ]

0 commit comments

Comments
 (0)
0