Skip to content
Snippets Groups Projects
Commit fad92bf2 authored by Teemu Autto's avatar Teemu Autto
Browse files

Compatibility fixes.

parent 8d0e744f
No related branches found
No related tags found
No related merge requests found
......@@ -5,7 +5,7 @@
// Use docker-compose to setup the container
// https://code.visualstudio.com/docs/containers/docker-compose
"dockerComposeFile": "../docker-compose.yml",
"service": "tjts5901-dev",
"service": "tjts5901",
// Don't start flask app by default.
"overrideCommand": true,
......@@ -27,6 +27,8 @@
"workspaceFolder": "/app",
"mounts": [
// Mount the local folder into the container
"source=${localWorkspaceFolder},target=/app,type=bind,consistency=cached",
// Setup mountpoints for accessing secrets and services in host machine
// Docker-from-Docker, see https://github.com/microsoft/vscode-dev-containers/blob/main/script-library/docs/docker.md
"source=/var/run/docker.sock,target=/var/run/docker.sock,type=bind",
......
......@@ -19,7 +19,7 @@ services:
#- .:/app:cached
# Include system timezone information, so container doesn't use UTC
#- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro
#- /etc/localtime:/etc/localtime:ro
environment:
#- FLASK_APP=tjt5901:app
......
......@@ -15,13 +15,14 @@
[project]
name = "tjts5901"
description = "TJTS5901 Course work assigment"
version = "0.0.1"
authors = [
{ name="University of Jyväskylä" },
# { name="Team Member", email="team.member@student.jyu.fi" }
]
# Version is detected from git, and dependencies from older style "requirements.txt" file.
dynamic = ["version", "dependencies"]
dynamic = ["dependencies"]
[tool.setuptools.dynamic]
dependencies = {file = ["requirements.txt"]}
......@@ -37,7 +38,7 @@ docs = [
]
[build-system]
requires = ["setuptools>=61.0", "setuptools_scm[toml]>=5"]
requires = ["setuptools>=61.0"]
build-backend = "setuptools.build_meta"
[tool.setuptools_scm]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment