Skip to content
Snippets Groups Projects
Unverified Commit 91816a73 authored by Maxime FRIESS's avatar Maxime FRIESS :blue_heart:
Browse files

[build] Added docker

parent ced427e8
Branches
No related merge requests found
.env
node_modules
build
\ No newline at end of file
# Use node lts
FROM node:lts
# Set working directory
WORKDIR /seb-bot/
# Install dependencies
COPY package.json ./
COPY yarn.lock ./
RUN yarn install
# Build
COPY . ./
# Run on port 4000
EXPOSE 4000
# Uptimerobot check on 4001
EXPOSE 4001
CMD yarn start
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment