mirror of
https://github.com/jaywcjlove/wxmp.git
synced 2026-01-11 07:48:48 +08:00
fix: fix docker image build error.
This commit is contained in:
4
website/.dockerignore
Normal file
4
website/.dockerignore
Normal file
@@ -0,0 +1,4 @@
|
||||
node_modules
|
||||
public
|
||||
src
|
||||
.git
|
||||
7
website/Dockerfile
Normal file
7
website/Dockerfile
Normal file
@@ -0,0 +1,7 @@
|
||||
# https://lipanski.com/posts/smallest-docker-image-static-website
|
||||
# https://github.com/lipanski/docker-static-website
|
||||
FROM lipanski/docker-static-website:latest
|
||||
|
||||
# Copy the static website
|
||||
# Use the .dockerignore file to control what ends up inside the image!
|
||||
COPY ./website/build .
|
||||
Reference in New Issue
Block a user