add openhack files

This commit is contained in:
Ryan Peters
2022-11-03 16:41:13 -04:00
commit b2c9f7e29f
920 changed files with 118861 additions and 0 deletions

View File

@ -0,0 +1,19 @@
FROM node:12-alpine
COPY . /app
WORKDIR /app
EXPOSE 8080
# docker build argument
# This can be specified during the docker build step by adding " --build-arg build_version=<value>"
# App version can be accessed via the uri path /api/version/user
# https://vsupalov.com/docker-build-pass-environment-variables/
ARG build_version="userprofile default"
ENV APP_VERSION=$build_version
RUN npm install
CMD npm start