Skip to content

Commit d469fda

Browse files
committed
modificati file docker deployment
1 parent be6f427 commit d469fda

3 files changed

Lines changed: 13 additions & 8 deletions

File tree

Artificial_QI/.dockerignore

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,22 @@
1+
# No test
12
.pytest_cache/
3+
test/**/__pycache__/
4+
test/
5+
# No db
26
db_data/
37
pgadmin_data/
8+
# No frontend
49
frontend/public/
510
src/**/__pycache__/
6-
test/**/__pycache__/
11+
# No file runtime python
712
__pycache__/
813
*.pyc
914
*.pyo
1015
*.pyd
11-
*.DS_Store
16+
# No altri file
17+
*.DS_Store
18+
# No file progettazione starUML
19+
*.mdj
20+
# No file configurazione Github Actions
21+
*.toml
22+
*.cfg

Artificial_QI/Dockerfile.backend

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,5 @@ COPY . .
2222
# Expose port for the backend service
2323
EXPOSE 5000
2424

25-
# Set environment variables
26-
ENV PYTHONPATH=/app
27-
ENV DATABASE_URL=postgresql://admin:admin@postgres:5432/Artificial_QI
28-
2925
# Command to run the application
3026
CMD ["python", "-m", "application"]

Artificial_QI/docker-compose.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@ services:
1111
- postgres
1212
networks:
1313
- shared_network
14-
environment:
15-
- DATABASE_URL=postgresql://admin:admin@postgres:5432/Artificial_QI
1614

1715
frontend:
1816
build:

0 commit comments

Comments
 (0)