mirror of
https://github.com/Hestia-Homes/survey-extraction.git
synced 2026-06-08 11:17:29 +00:00
docker compose file is now workign
This commit is contained in:
parent
5a3f1478c8
commit
ce7a3163ef
3 changed files with 14 additions and 4 deletions
|
|
@ -16,3 +16,9 @@ RUN useradd -m -s /usr/bin/bash ${USER} \
|
|||
|
||||
# Install Poetry
|
||||
RUN pip install --no-cache-dir poetry
|
||||
|
||||
# Set the working directory
|
||||
WORKDIR /workspaces/survey-extractor
|
||||
|
||||
# (Optional) Ensure the user owns the working directory
|
||||
RUN chown -R ${USER}:${USER} /workspaces/survey-extractor
|
||||
|
|
@ -3,13 +3,17 @@
|
|||
"dockerComposeFile": "docker-compose.yml",
|
||||
"service": "survey-extractor",
|
||||
"remoteUser": "vscode",
|
||||
"workspaceFolder": "/workspaces/survey-extractor",
|
||||
"postStartCommand": "bash .devcontainer/post-install.sh",
|
||||
"mounts": [
|
||||
"source=${localEnv:HOME},target=/workspaces/home,type=bind",
|
||||
"source=${localEnv:HOME}/.ssh,target=/home/vscode/.ssh,type=bind"
|
||||
"source=${localEnv:HOME},target=/workspaces/home,type=bind"
|
||||
// "source=${localEnv:HOME}/.ssh,target=/home/vscode/.ssh,type=bind"
|
||||
],
|
||||
"customizations": {
|
||||
"vscode": {
|
||||
"settings": {
|
||||
"files.defaultWorkspace": "/workspaces/survey-extractor"
|
||||
},
|
||||
"extensions": [
|
||||
"ms-python.python",
|
||||
"ms-azuretools.vscode-docker",
|
||||
|
|
|
|||
|
|
@ -6,9 +6,9 @@ services:
|
|||
build:
|
||||
context: ..
|
||||
dockerfile: .devcontainer/Dockerfile
|
||||
volumes:
|
||||
- ..:/workspaces:cached
|
||||
command: sleep infinity
|
||||
volumes:
|
||||
- ..:/workspaces/survey-extractor
|
||||
depends_on:
|
||||
- db
|
||||
networks:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue