wg-easy/Dockerfile
Emile Nijssen 0c3217def0 wip
2021-05-23 14:28:22 +02:00

19 lines
277 B
Docker

FROM node:16-alpine
# Install Linux packages
RUN apk add -U wireguard-tools
# Copy Web UI
COPY src/ /app/
WORKDIR /app
RUN npm ci --production
# Expose Ports
EXPOSE 51820/udp
EXPOSE 80/tcp
# Set Environment
ENV DEBUG=Server,WireGuard
# Run Web UI
CMD ["node", "server.js"]