Skip to content

Commit

Permalink
exposing mysql port for tests
Browse files Browse the repository at this point in the history
  • Loading branch information
kaxada committed Dec 25, 2023
1 parent fccb950 commit 33ea7c0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/test-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ jobs:
docker load -i ~/badging.tar
docker run -d \
-p ${{ secrets.PORT }}:${{ secrets.PORT }} \
-p 3306:3306 \
--env-file /home/${{ secrets.USERNAME }}/.env \
--restart=always \
--name ${{ env.IMAGE_NAME }} \
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ WORKDIR /app
COPY package*.json ./
RUN npm install
COPY . .
EXPOSE 2050
EXPOSE 2050 3306
CMD [ "npm", "start" ]

0 comments on commit 33ea7c0

Please sign in to comment.