Skip to content
Snippets Groups Projects
Commit b288d914 authored by Wilson JALLET's avatar Wilson JALLET :money_with_wings:
Browse files

update Dockerfile some more

parent 4a24cb7a
No related branches found
No related tags found
No related merge requests found
src/
ldap_connexion_config.json
\ No newline at end of file
node_modules/
src/
\ No newline at end of file
FROM node:10.9-alpine
FROM mhart/alpine-node:10.9
CMD [ "node", "build/bundle.js" ]
# Create app directory
WORKDIR /app
# Install app dependencies
COPY package*.json ./
# Native dependencies
RUN apk add --no-cache make gcc g++ python
RUN npm install --only=production
# Bundle app source
COPY . .
EXPOSE 3000
CMD [ "node", "build/bundle.js" ]
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment