fix docker build
This commit is contained in:
parent
13ceb1fe52
commit
2cd3bd0e1d
@ -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
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user