change dockerfile for local development

This commit is contained in:
Michael Duong 2023-09-10 11:31:08 +01:00
parent bd319be882
commit e933e54e33
2 changed files with 2 additions and 3 deletions

View file

@ -6,7 +6,7 @@
// Sets the run context to one level up instead of the .devcontainer folder.
"context": "..",
// Update the 'dockerFile' property if you aren't using the standard 'Dockerfile' filename.
"dockerfile": "../Dockerfile"
"dockerfile": "../Development.Dockerfile"
},
"features": {
"ghcr.io/devcontainers/features/git:1": {}

View file

@ -1,8 +1,7 @@
# Dockerfile that can be used for development
FROM python:3.10.12-slim
COPY ~/.ssh ~/.ssh
COPY training/requirements/requirements-dev.txt requirements.txt
COPY src/requirements/training/requirements-dev.txt requirements.txt
RUN pip install --upgrade pip
RUN pip install -r requirements.txt