chore: Remove local registry from docker files
This commit is contained in:
@@ -2,10 +2,4 @@
|
|||||||
FROM node:16
|
FROM node:16
|
||||||
WORKDIR /automatisch
|
WORKDIR /automatisch
|
||||||
|
|
||||||
# npm registry for dev purposes
|
|
||||||
RUN npm config set fetch-retry-maxtimeout 5000
|
|
||||||
RUN npm config set fetch-retry-mintimeout 3000
|
|
||||||
RUN npm set registry http://localhost:5000
|
|
||||||
# npm registry for dev purposes
|
|
||||||
|
|
||||||
RUN yarn global add @automatisch/cli
|
RUN yarn global add @automatisch/cli
|
||||||
|
@@ -5,12 +5,6 @@ WORKDIR /automatisch
|
|||||||
RUN apt-get update && apt-get install -y postgresql-client
|
RUN apt-get update && apt-get install -y postgresql-client
|
||||||
COPY ./wait-for-postgres.sh /automatisch/wait-for-postgres.sh
|
COPY ./wait-for-postgres.sh /automatisch/wait-for-postgres.sh
|
||||||
|
|
||||||
# npm registry for dev purposes
|
|
||||||
RUN npm config set fetch-retry-maxtimeout 5000
|
|
||||||
RUN npm config set fetch-retry-mintimeout 3000
|
|
||||||
RUN npm set registry http://localhost:5000
|
|
||||||
# npm registry for dev purposes
|
|
||||||
|
|
||||||
RUN mkdir -p /automatisch/storage
|
RUN mkdir -p /automatisch/storage
|
||||||
RUN touch /automatisch/storage/.env
|
RUN touch /automatisch/storage/.env
|
||||||
RUN echo "ENCRYPTION_KEY=$(openssl rand -base64 36)" >> /automatisch/storage/.env
|
RUN echo "ENCRYPTION_KEY=$(openssl rand -base64 36)" >> /automatisch/storage/.env
|
||||||
|
Reference in New Issue
Block a user