Skip to content

Commit

Permalink
Updated to match lab-docker
Browse files Browse the repository at this point in the history
  • Loading branch information
rofrano committed Mar 9, 2024
1 parent dc12d1a commit 82cc5df
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 43 deletions.
16 changes: 13 additions & 3 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,20 @@
// spell: disable
{
"name": "Kubernetes",
"dockerComposeFile": "docker-compose.yml",
"service": "app",
"workspaceFolder": "/app",
"build": {
"dockerfile": "Dockerfile",
"context": ".."
},
"remoteUser": "vscode",
"workspaceFolder": "/app",
"workspaceMount": "source=${localWorkspaceFolder},target=/app,type=bind,consistency=delegated",
"runArgs": ["-h","nyu", "--name", "lab-kubernetes"],
"remoteEnv": {
"FLASK_DEBUG:": "True",
"FLASK_APP": "wsgi:app",
"PORT": "8080",
"GUNICORN_BIND": "0.0.0.0:8080"
},
"customizations": {
"vscode": {
"settings": {
Expand Down
38 changes: 0 additions & 38 deletions .devcontainer/docker-compose.yml

This file was deleted.

2 changes: 1 addition & 1 deletion .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"request": "launch",
"module": "flask",
"env": {
"FLASK_APP": "service:app",
"FLASK_APP": "wsgi:app",
"FLASK_ENV": "development"
},
"args": [
Expand Down
2 changes: 1 addition & 1 deletion .vscode/tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
{
"label": "TDD tests",
"type": "shell",
"command": "nosetests",
"command": "pytest",
"group": {
"kind": "test",
"isDefault": true
Expand Down

0 comments on commit 82cc5df

Please sign in to comment.