Merge pull request #811 from automatisch/chore/dockerfile

chore: Cover different architectures in Dockerfile
This commit is contained in:
Ali BARIN
2022-12-17 18:45:51 +01:00
committed by GitHub
2 changed files with 5 additions and 0 deletions

1
.yarnrc Normal file
View File

@@ -0,0 +1 @@
network-timeout 400000

View File

@@ -2,9 +2,13 @@
FROM node:16-alpine
WORKDIR /automatisch
RUN apk --no-cache add --virtual build-dependencies python3 build-base
COPY ./entrypoint.sh /entrypoint.sh
RUN yarn global add @automatisch/cli@0.3.0
RUN apk del build-dependencies python3 build-base
EXPOSE 3000
ENTRYPOINT ["sh", "/entrypoint.sh"]