Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
costateixeira authored May 11, 2024
1 parent 0e7d905 commit 2fea4a5
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,8 @@ RUN cp /work/fhirserver/exec/pack/linux/start_bare.sh /work/fhirserver/exec/inst
cp -r /work/fhirserver/server/web/* /work/fhirserver/exec/install/web && \
cd /work/fhirserver/exec && tar -czvf ./install.tgz ./install/ && ls -la /work/fhirserver/exec

# Set PATH to include the bin directory where executables are located
ENV PATH="/work/fhirserver/exec/install/bin:${PATH}"

# Set the health check
HEALTHCHECK --interval=1m --timeout=10s --retries=5 \
Expand Down Expand Up @@ -126,9 +128,13 @@ RUN tar -xzvf install.tgz
# Change working directory to the extracted folder
WORKDIR /fhirserver/install

ENV PATH="/fhirserver:${PATH}"

# Set the script to be executable
RUN chmod +x ./install.sh



# Run the installation script
RUN ./install.sh -nodaemon
# -zero=https://storage.googleapis.com/tx-fhir-org/config.json
Expand Down

0 comments on commit 2fea4a5

Please sign in to comment.