added buildserver
This commit is contained in:
24
buildServer/Dockerfile
Normal file
24
buildServer/Dockerfile
Normal file
@@ -0,0 +1,24 @@
|
||||
FROM haxe:4.3-bullseye
|
||||
|
||||
RUN apt-get update && apt-get install -y \
|
||||
git \
|
||||
make \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
RUN curl -fsSL https://deb.nodesource.com/setup_current.x | bash - && \
|
||||
apt-get install -y nodejs
|
||||
|
||||
RUN mkdir -p /app
|
||||
RUN mkdir -p /repo
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY index.js /app/index.js
|
||||
COPY package.json /app/package.json
|
||||
|
||||
RUN npm install
|
||||
|
||||
ENV REPO_DIR=/repo
|
||||
EXPOSE 3000
|
||||
|
||||
CMD ["node", "index.js"]
|
||||
Reference in New Issue
Block a user