create dockerfile to use for deployment
This commit is contained in:
@@ -13,7 +13,9 @@
|
|||||||
},
|
},
|
||||||
|
|
||||||
// Features to add to the dev container. More info: https://containers.dev/features.
|
// Features to add to the dev container. More info: https://containers.dev/features.
|
||||||
// "features": {},
|
"features": {
|
||||||
|
"ghcr.io/devcontainers/features/docker-in-docker:2": {}
|
||||||
|
},
|
||||||
|
|
||||||
// Use 'forwardPorts' to make a list of ports inside the container available locally.
|
// Use 'forwardPorts' to make a list of ports inside the container available locally.
|
||||||
// "forwardPorts": [],
|
// "forwardPorts": [],
|
||||||
|
|||||||
6
dockerfile
Normal file
6
dockerfile
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
FROM python:3.12
|
||||||
|
|
||||||
|
COPY slopserver/ requirements.txt /slopserver/
|
||||||
|
WORKDIR /slopserver/
|
||||||
|
|
||||||
|
RUN python3 -m pip install -r requirements.txt
|
||||||
Reference in New Issue
Block a user