Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
mattdean-digicatapult committed Nov 19, 2021
0 parents commit 4ce6066
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# syntax=docker/dockerfile:1.0.0-experimental

FROM node:14.16.0-alpine

# Allow log level to be controlled. Uses an argument name that is different
# from the existing environment variable, otherwise the environment variable
# shadows the argument.
ARG LOGLEVEL
ENV NPM_CONFIG_LOGLEVEL ${LOGLEVEL}

WORKDIR /ipfs

# Install base dependencies
COPY . .
RUN npm install --production


EXPOSE 80
CMD ["node", "./app/index.js"]

0 comments on commit 4ce6066

Please sign in to comment.