Update Dockerfile
This commit is contained in:
parent
485d127ea2
commit
3fffb53ee9
1 changed files with 3 additions and 5 deletions
|
|
@ -10,11 +10,9 @@ WORKDIR /appclient
|
|||
|
||||
RUN apk add --no-cache git
|
||||
|
||||
COPY . /appclient/
|
||||
|
||||
RUN \
|
||||
# echo "**** Cloning Source Code ****" && \
|
||||
# git clone https://github.com/rogerfar/rdt-client.git . && \
|
||||
echo "**** Cloning Source Code ****" && \
|
||||
git clone https://github.com/rogerfar/rdt-client.git . && \
|
||||
cd client && \
|
||||
echo "**** Building Code ****" && \
|
||||
npm ci && \
|
||||
|
|
@ -94,4 +92,4 @@ EXPOSE 6500
|
|||
VOLUME [ "/data" ]
|
||||
|
||||
# Check Status
|
||||
HEALTHCHECK --interval=30s --timeout=30s --start-period=30s --retries=3 CMD curl --fail http://localhost:6500 || exit
|
||||
HEALTHCHECK --interval=30s --timeout=30s --start-period=30s --retries=3 CMD curl --fail http://localhost:6500 || exit
|
||||
|
|
|
|||
Loading…
Reference in a new issue