[server] Fix dockerfile to remove app prefix, and host port env

This commit is contained in:
Abhishek Shroff
2025-05-01 12:41:56 +05:30
parent e7606b88c7
commit 67cb61ff2f
2 changed files with 4 additions and 1 deletions

3
.env
View File

@@ -4,6 +4,9 @@ STORAGE_LOCATION=./data/storage
# The location where your database files are stored
PG_DATA_LOCATION=./data/postgres
PHYLUM_SERVER_HOST=
PHYLUM_SERVER_PORT=2448
PHYLUM_DB_NAME=phylum
PHYLUM_DB_USER=phylum
PHYLUM_DB_PASSWORD=phylum

View File

@@ -9,7 +9,7 @@ COPY client/pubspec.yaml client/pubspec.lock .
COPY client/lib ./lib
COPY client/web ./web
RUN flutter pub get
RUN flutter build web --wasm --base-href "/app/"
RUN flutter build web --wasm
FROM alpine
WORKDIR /app