This commit is contained in:
zramsay 2023-11-23 01:28:29 +00:00
parent dbffcb233e
commit 1ae144a9b8
3 changed files with 2 additions and 16 deletions

View File

@ -5,4 +5,4 @@ services:
image: cerc/ping-pub:local image: cerc/ping-pub:local
restart: always restart: always
ports: ports:
- "5137" - "5173:5173"

View File

@ -1,11 +0,0 @@
FROM node:lts-slim
WORKDIR /app
COPY . .
RUN yarn --ignore-engines
EXPOSE 5173
CMD ["yarn", "serve"]

View File

@ -2,7 +2,4 @@
# Build the ping pub image # Build the ping pub image
source ${CERC_CONTAINER_BASE_DIR}/build-base.sh source ${CERC_CONTAINER_BASE_DIR}/build-base.sh
# See: https://stackoverflow.com/a/246128/1701505 docker build -t cerc/ping-pub:local ${build_command_args} -f $CERC_REPO_BASE_DIR/explorer/Dockerfile $CERC_REPO_BASE_DIR/explorer
SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
docker build -t cerc/ping-pub:local ${build_command_args} -f ${SCRIPT_DIR}/Dockerfile $SCRIPT_DIR