diff options
author | houston[bot] <astrobot-houston@users.noreply.github.com> | 2025-08-10 16:30:08 -0700 |
---|---|---|
committer | Elizabeth Hunt <me@liz.coffee> | 2025-08-11 18:30:29 -0700 |
commit | 941cd2cb0ff2b9f40c424f3b36d59064e1e8fdb9 (patch) | |
tree | 43a1306ce3d6419ffbe042c328dbf9e372691198 /Dockerfile | |
download | coffee-941cd2cb0ff2b9f40c424f3b36d59064e1e8fdb9.tar.gz coffee-941cd2cb0ff2b9f40c424f3b36d59064e1e8fdb9.zip |
Initial commit
Diffstat (limited to 'Dockerfile')
-rw-r--r-- | Dockerfile | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..62cf2be --- /dev/null +++ b/Dockerfile @@ -0,0 +1,11 @@ +FROM node:lts AS build +WORKDIR /app +COPY package*.json ./ +RUN npm install +COPY . . +RUN npm run build + +FROM nginx:alpine AS coffee +COPY ./nginx/nginx.conf /etc/nginx/nginx.conf +COPY --from=build /app/dist /usr/share/nginx/html +EXPOSE 8080 |