Skip to content

Instantly share code, notes, and snippets.

@sibelius
Created September 21, 2022 13:36
Show Gist options
  • Save sibelius/13a8e70c2f4f6483b79d64890d40aa81 to your computer and use it in GitHub Desktop.
Save sibelius/13a8e70c2f4f6483b79d64890d40aa81 to your computer and use it in GitHub Desktop.
simple dockerfile node
FROM node:lts-slim
RUN mkdir -p /usr/src/app
WORKDIR /usr/src/app
ENV PORT=5001
EXPOSE ${PORT}
COPY ./.env.example /usr/src/app/
COPY ./build/server.js /usr/src/app/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment