Skip to content
Snippets Groups Projects
Commit c2beba22 authored by michael.minelli's avatar michael.minelli
Browse files

Create Dockerfile for ExpressAPI

parent 559c5256
Branches
No related tags found
No related merge requests found
...@@ -2,4 +2,15 @@ FROM node:20-bullseye ...@@ -2,4 +2,15 @@ FROM node:20-bullseye
LABEL maintainer="Michaël Minelli <michael-jean.minelli@hesge.ch>" LABEL maintainer="Michaël Minelli <michael-jean.minelli@hesge.ch>"
LABEL Description="Express API for Dojo" LABEL Description="Express API for Dojo"
ENTRYPOINT ["tail", "-f", "/dev/null"] ADD ExpressAPI/ /dojo/ExpressAPI/
\ No newline at end of file ADD .env /dojo/ExpressAPI/.env
WORKDIR /dojo/ExpressAPI/
RUN npm install
RUN npm run build
EXPOSE 30992
ENTRYPOINT [ "npm", "run", "start:prod" ]
#ENTRYPOINT ["tail", "-f", "/dev/null"]
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment