Dockerfile support
This commit is contained in:
Executable
+13
@@ -0,0 +1,13 @@
|
|||||||
|
FROM python
|
||||||
|
|
||||||
|
# Create app directory
|
||||||
|
WORKDIR /usr/src/app
|
||||||
|
|
||||||
|
COPY requirements.txt ./
|
||||||
|
|
||||||
|
RUN pip install -r requirements.txt
|
||||||
|
|
||||||
|
# Bundle app source
|
||||||
|
COPY . .
|
||||||
|
|
||||||
|
CMD [ "sh", "-c", "python src/main.py" ]
|
||||||
Reference in New Issue
Block a user