Electronic Voting System for my Highschools student council
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
csevote/Dockerfile

16 lines
223 B

FROM alpine:latest
EXPOSE 80
ADD . /app
RUN apk add nodejs npm sed
RUN cat /app/app.js \
| sed 's/8881/80/g' > /app/app.js
RUN cd /app \
&& npm i
RUN apk del sed
WORKDIR /app
ENTRYPOINT ["/usr/bin/node"]
CMD ["/app"]