Browse Source

Merge pull request #10 from Cameri/fix/docker-with-esbuild

fix: docker with esbuild
update/libraries
fiatjaf 3 years ago
committed by GitHub
parent
commit
eba48804c3
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      Dockerfile
  2. 0
      README.md
  3. 2
      nginx/conf.d/default.conf

4
Dockerfile

@ -2,7 +2,9 @@ FROM node:14-alpine as build
WORKDIR /app
COPY index.html main.js package.json build.js /app/
COPY public/index.html /app/public/index.html
COPY main.js package.json build.js /app/
RUN yarn \
&& yarn run build

0
README → README.md

2
nginx/conf.d/default.conf

@ -1,6 +1,6 @@
server {
listen 80;
root /app/public;
root /app;
location / {
index index.html;

Loading…
Cancel
Save