Skip to content
Snippets Groups Projects
Forked from an inaccessible project.
Dockerfile 392 B
FROM mhart/alpine-node:10.9

WORKDIR /app

# Native dependencies
RUN apk add --no-cache make gcc g++ python

COPY package*.json ./

# Install app dependencies
RUN npm install --only=production && npm i -g knex

ARG ldap_uri=ldap://bloaziadur.eleves.polytechnique.fr:389
ENV LDAP_URI=${ldap_uri}
ENV HOST=0.0.0.0
ENV NODE_ENV=production

COPY . .

EXPOSE 3000
CMD [ "node", "build/bundle.js" ]