mirror of
https://github.com/PretendoNetwork/account.git
synced 2026-09-12 05:16:42 -05:00
Removed older dockerfile
This commit is contained in:
16
dockerfile
16
dockerfile
@@ -1,16 +0,0 @@
|
||||
# syntax=docker/dockerfile:1
|
||||
FROM node:12-alpine
|
||||
EXPOSE 7070/tcp
|
||||
RUN apk add --no-cache npm python3 make g++
|
||||
WORKDIR /app
|
||||
COPY . .
|
||||
RUN mkdir /config
|
||||
VOLUME /config
|
||||
WORKDIR /app/src
|
||||
RUN mv example.config.json /config/config.json
|
||||
RUN mv example.servers.json /config/servers.json
|
||||
RUN npm install
|
||||
WORKDIR /app
|
||||
RUN echo "cp /config/config.json /app/src/config.json && cp /config/servers.json /app/src/servers.json && npm start" > startup.sh
|
||||
RUN chmod +x startup.sh
|
||||
ENTRYPOINT "/app/startup.sh"
|
||||
Reference in New Issue
Block a user