chore(docker): remove Dockerfile.cloud
This commit is contained in:
@@ -1,24 +0,0 @@
|
|||||||
# syntax=docker/dockerfile:1
|
|
||||||
FROM node:18-alpine
|
|
||||||
|
|
||||||
ENV PORT 3000
|
|
||||||
|
|
||||||
RUN \
|
|
||||||
apk --no-cache add --virtual build-dependencies python3 build-base git
|
|
||||||
|
|
||||||
RUN git clone https://github.com/automatisch/automatisch.git
|
|
||||||
|
|
||||||
WORKDIR /automatisch
|
|
||||||
|
|
||||||
RUN yarn install
|
|
||||||
|
|
||||||
RUN if [ "$WORKER" != "true" ]; then cd packages/web && yarn build; fi
|
|
||||||
|
|
||||||
RUN \
|
|
||||||
rm -rf /usr/local/share/.cache/ && \
|
|
||||||
apk del build-dependencies
|
|
||||||
|
|
||||||
COPY ./docker/entrypoint.sh /entrypoint.sh
|
|
||||||
|
|
||||||
EXPOSE 3000
|
|
||||||
ENTRYPOINT ["sh", "/entrypoint.sh"]
|
|
Reference in New Issue
Block a user