Alpine Nginx & Node.js Image
2.2K
Alpine Nginx & Node.js Image
# Dockerfile
FROM thonatos/alpine-nginx-nodejs:on-build
ENV NGINXLOCATION=CN
ADD root/ /
ADD src/ /app
RUN cd /app && \
npm install --production && \
ln -sf /dev/stdout /var/log/nginx/access.log && \
ln -sf /dev/stderr /var/log/nginx/error.log
EXPOSE 80 443 3000
ENTRYPOINT ["/init"]
# Replace the entry with yours.
CMD ["node", "/app/backend/bin/autoload.js"]
Content type
Image
Digest
Size
43.2 MB
Last updated
almost 9 years ago
docker pull thonatos/alpine-nginx-nodejs