Skip to content

Commit

Permalink
fix: docker image workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
JesperLeerberg committed Sep 3, 2021
1 parent 627078b commit d4f733c
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 7 deletions.
19 changes: 19 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
node_modules
*.vscode
*.github
Dockerfile

client
server

.gitignore
.dockerignore
.prettierignore
.prettierrc.json
jest.config.js
tsconfig.jest.json
tslint.json
.npmignore
.jshintrc
.editorconfig
webpack.config.js
5 changes: 5 additions & 0 deletions .github/workflows/deploy-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,11 @@ jobs:
- name: Checkout
uses: actions/checkout@v2

- uses: actions/download-artifact@v2
with:
name: dist artifacts
path: dist

- name: Docker meta
id: meta
uses: docker/metadata-action@v3
Expand Down
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
FROM node:12.13.1-alpine
RUN apk add --no-cache git
COPY . /opt/sisyfos-audio-controller
WORKDIR /opt/sisyfos-audio-controller
RUN yarn install
EXPOSE 1176/tcp
EXPOSE 1176/udp
EXPOSE 5255/tcp
Expand Down
9 changes: 2 additions & 7 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -7411,9 +7411,9 @@ xmlchars@^2.2.0:
resolved "https://registry.yarnpkg.com/xmlchars/-/xmlchars-2.2.0.tgz#060fe1bcb7f9c76fe2a17db86a9bc3ab894210cb"
integrity sha512-JZnDKK8B0RCDw84FNdDAIpZK+JuJw+s7Lz8nksI7SIuU3UXJJslUthsi+uWBUYOwPFwW7W7PRLRfUKpxjtjFCw==

"xmldom@git+https://github.com/xmldom/xmldom.git#v0.7.0":
"xmldom@https://github.com/xmldom/xmldom#v0.7.0":
version "0.7.0"
resolved "git+https://github.com/xmldom/xmldom.git#c568938641cc1f121cef5b4df80fcfda1e489b6e"
resolved "https://github.com/xmldom/xmldom#c568938641cc1f121cef5b4df80fcfda1e489b6e"

xpath@^0.0.32:
version "0.0.32"
Expand Down Expand Up @@ -7508,11 +7508,6 @@ yargs@~1.2.6:
dependencies:
minimist "^0.1.0"

yarn@^1.22.10:
version "1.22.10"
resolved "https://registry.yarnpkg.com/yarn/-/yarn-1.22.10.tgz#c99daa06257c80f8fa2c3f1490724e394c26b18c"
integrity sha512-IanQGI9RRPAN87VGTF7zs2uxkSyQSrSPsju0COgbsKQOOXr5LtcVPeyXWgwVa0ywG3d8dg6kSYKGBuYK021qeA==

[email protected]:
version "0.1.2"
resolved "https://registry.yarnpkg.com/yeast/-/yeast-0.1.2.tgz#008e06d8094320c372dbc2f8ed76a0ca6c8ac419"
Expand Down

0 comments on commit d4f733c

Please sign in to comment.