Skip to content

Commit

Permalink
CU-86byq7arq Fix Add docker multiplatform image build to github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
drizzentic committed May 15, 2024
1 parent f86c739 commit db5c2b8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ on:
tags:
- "*.*.*"
branches:
- main
- "*"

jobs:
build-and-push:
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down
6 changes: 4 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,10 @@ FROM node:16

WORKDIR /usr/src/app

COPY node_modules ./node_modules
COPY dist ./dist
COPY . .

RUN npm run build


EXPOSE 3000

Expand Down

0 comments on commit db5c2b8

Please sign in to comment.