Skip to content

Commit

Permalink
Adding Dockerfile for easier local running (#76)
Browse files Browse the repository at this point in the history
Co-authored-by: Alex Gallien <agallien@atlassian.com>
  • Loading branch information
alexgallien and agallien authored Aug 2, 2023
1 parent 815edaf commit 52cc73f
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
FROM node:18.17.0-bullseye-slim

EXPOSE 3000

WORKDIR /opt/app

COPY --chown=node:node package.json yarn.lock /opt/app
RUN cd /opt/app \
&& yarn install --pure-lockfile

COPY --chown=node:node . /opt/app

USER node

CMD yarn start

0 comments on commit 52cc73f

Please sign in to comment.