Szakdolgozat/backend/Dockerfile

16 lines
289 B
Docker
Raw Normal View History

# Check out https://hub.docker.com/_/node to select a new base image
FROM node:16-slim
# Create app directory (with user `node`)
RUN mkdir -p /home/node/app
WORKDIR /home/node/app
2021-11-09 21:57:51 +00:00
EXPOSE 4200
2021-11-09 21:57:51 +00:00
ENTRYPOINT [ "/docker.sh" ]
CMD [ "run" ]
2021-11-09 21:57:51 +00:00
COPY docker.sh /docker.sh
RUN chmod +x /docker.sh