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 bbad7ba commit f25a825
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions IMOMaritimeSingleWindow/Server/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,27 +3,15 @@ FROM mcr.microsoft.com/dotnet/core/sdk:2.2-bionic

WORKDIR /workspaces/backend


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

# Copy the SQL script
#COPY ./SqlScripts/Create_and_populate_DB.sql /workspaces/backend/SqlScripts/Create_and_populate_DB.sql

# Install PostgreSQL client
RUN apt-get update && apt-get install -y postgresql-client iputils-ping

# Expose the port
EXPOSE 5000
# ENV PGHOST=imo-dev-psqlflexibleserver-1.postgres.database.azure.com
# ENV PGPORT=5432
# ENV PGDATABASE=db-imo-msw-dev-1
# ENV PGUSER=postgres
# ENV PGPASSWORD=szechuan

# RUN chmod +x ./populate_db.sh
# RUN ./populate_db.sh

CMD ["sh", "-c", "\
chmod +x ./populate_db.sh &&\
Expand Down

0 comments on commit f25a825

Please sign in to comment.