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
Tags
No related merge requests found
......@@ -2,4 +2,15 @@ FROM node:20-bullseye
LABEL maintainer="Michaël Minelli <michael-jean.minelli@hesge.ch>"
LABEL Description="Express API for Dojo"
ENTRYPOINT ["tail", "-f", "/dev/null"]
\ No newline at end of file
ADD ExpressAPI/ /dojo/ExpressAPI/
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