Skip to content

Commit

Permalink
Merge pull request #230 from serguun42/bring-docker
Browse files Browse the repository at this point in the history
Include Github CI run number argument
  • Loading branch information
serguun42 authored Nov 16, 2023
2 parents 3ff5ecc + f620097 commit 9c9fb2b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ services:
image: mss-frontend:latest
build:
context: ./frontend
args:
GITHUB_RUN_NUMBER_ARG: ${GITHUB_RUN_NUMBER}
restart: always
volumes:
- ${FRONTEND_PUBLISH_PATH}:/usr/src/app/mount
2 changes: 2 additions & 0 deletions frontend/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
FROM node:lts-alpine

ARG GITHUB_RUN_NUMBER_ARG

WORKDIR /usr/src/app
COPY . /usr/src/app

Expand Down

0 comments on commit 9c9fb2b

Please sign in to comment.