This repository was archived by the owner on Mar 13, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +4
-13
lines changed
Expand file tree Collapse file tree 2 files changed +4
-13
lines changed Original file line number Diff line number Diff line change 11// For format details, see https://aka.ms/devcontainer.json
22{
33 "name" : " Python 3 Developer Container" ,
4- "build" : {
5- "dockerfile" : " Dockerfile" ,
6- "target" : " build" ,
7- "context" : " ." ,
8- "args" : {}
9- },
4+ "image" : " python:3.11" ,
105 "remoteEnv" : {
116 "DISPLAY" : " ${localEnv:DISPLAY}"
127 },
Original file line number Diff line number Diff line change 1- # This file is for use as a devcontainer and a runtime container
2- #
3- # The devcontainer should use the build target and run as root with podman
4- # or docker with user namespaces.
5- #
1+ # This file is for use as a runtime container only, it depends on dist/
2+ # and lockfiles being made outside the container
63FROM python:3.11 as build
74
85# Add any system dependencies for the developer/build environment here e.g.
@@ -11,8 +8,7 @@ FROM python:3.11 as build
118# desired-packages \
129# && rm -rf /var/lib/apt/lists/*
1310
14- COPY dist /project/dist
15- COPY lockfiles /project/lockfiles
11+ COPY . /project
1612WORKDIR /project
1713
1814# set up a virtual environment and put it in PATH
You can’t perform that action at this time.
0 commit comments