Skip to content

Commit

Permalink
iconv-factory docker fix
Browse files Browse the repository at this point in the history
  • Loading branch information
valasek committed Jun 21, 2019
1 parent f790c8c commit da74afb
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 8 deletions.
2 changes: 2 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# fix due to optipng-bin in icon-factory - https://github.com/imagemin/optipng-bin/issues/84
./client/node_modules
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,8 @@ RUN GOOS=linux GOARCH=amd64 CGO_ENABLED=0 go build \
##############################################
# Second stage: build the frontend executable.
FROM node:lts-alpine AS frontend
# fix due to optipng-bin in icon-factory - https://github.com/imagemin/optipng-bin/issues/84
RUN apk --no-cache add pkgconfig autoconf automake libtool nasm build-base zlib-dev

# make the 'client' folder the current working directory
WORKDIR /client
Expand All @@ -62,9 +64,9 @@ COPY ./client/package*.json ./
COPY ./client/ ./

# install project dependencies
RUN npm install
RUN npm install -g @quasar/cli
RUN quasar upgrade -i
RUN npm install

# copy project files and folders to the current working directory (i.e. 'app' folder)
COPY ./client/ ./
Expand Down
12 changes: 6 additions & 6 deletions client/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
},
"devDependencies": {
"@quasar/app": "^1.0.0-rc.7",
"@quasar/quasar-app-extension-icon-factory": "^1.0.0-rc.5",
"@quasar/quasar-app-extension-icon-factory": "^1.0.0-rc.7",
"@quasar/quasar-app-extension-qenv": "^1.0.0-beta.1",
"@quasar/quasar-app-extension-qmarkdown": "^1.0.0-beta.12",
"@quasar/quasar-app-extension-testing-quality": "^1.0.0-beta.8",
Expand Down

0 comments on commit da74afb

Please sign in to comment.