diff --git a/.dockerignore b/.dockerignore index 04606cab..b23f5e3e 100644 --- a/.dockerignore +++ b/.dockerignore @@ -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 \ No newline at end of file diff --git a/Dockerfile b/Dockerfile index 86b3e54f..2928a3a4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 " 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