# Use an official ubuntu image
# V6 tag: 18.19, V7 tag: latest or 20.15
FROM hatiolab/operato-env:18.19

# Set the working directory to /app
WORKDIR /app

# copy application & configuration files
COPY . .

# run node install command
RUN yarn install

# Make port 3000 available to the world outside this container
EXPOSE 3000

CMD [ "yarn", "run", "serve" ]