1
0

fix docker build

This commit is contained in:
Michael Schramm 2022-02-28 09:08:10 +01:00
parent 13ceb1fe52
commit 2cd3bd0e1d
2 changed files with 10 additions and 2 deletions

View File

@ -19,3 +19,11 @@ docker-compose.yml
Dockerfile
Procfile
protractor.conf.js
pg_data
ui/.next
ui/node_modules
api/node_modules
api/pg_data
api/data
api/maria_data
api/dist

View File

@ -3,7 +3,7 @@ FROM node:16-alpine as ui
WORKDIR /usr/src/ui
RUN apk update && apk add curl bash && rm -rf /var/cache/apk/*
RUN apk --update --no-cache add curl bash g++ make libpng-dev
# install node-prune (https://github.com/tj/node-prune)
RUN curl -sfL https://install.goreleaser.com/github.com/tj/node-prune.sh | bash -s -- -b /usr/local/bin
@ -26,7 +26,7 @@ LABEL maintainer="OhMyForm <admin@ohmyform.com>"
WORKDIR /usr/src/api
RUN apk --update --no-cache add curl bash g++ make libpng-dev libc6-compat
RUN apk --update --no-cache add curl bash g++ make libpng-dev
# install node-prune (https://github.com/tj/node-prune)
RUN curl -sfL https://install.goreleaser.com/github.com/tj/node-prune.sh | bash -s -- -b /usr/local/bin