Skip to content

Commit

Permalink
modified: IMOMaritimeSingleWindow/Server/Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
vrsorheim committed Jul 11, 2024
1 parent 972e6a4 commit 3fe77a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion IMOMaritimeSingleWindow/Server/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ WORKDIR /workspaces/backend

# Copy the source code
COPY . .
COPY appsettings.default.json appsettings.json

# Install PostgreSQL client
RUN apt-get update && apt-get install -y postgresql-client iputils-ping
Expand All @@ -22,5 +21,6 @@ CMD ["sh", "-c", "\
./setenv_connection &&\
chmod +x ./populate_db.sh &&\
./populate_db.sh && \
cp appsettings.default.json appsettings.json &&\
dotnet ef database update --context open_ssnContext -v && \
dotnet run --urls http://0.0.0.0:5000" ]

0 comments on commit 3fe77a3

Please sign in to comment.