https://github.com/youpy/go-serve
https://github.com/youpy/go-serve
Last synced: 1 day ago
JSON representation
- Host: GitHub
- URL: https://github.com/youpy/go-serve
- Owner: youpy
- Created: 2019-12-13T00:39:05.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-12-13T01:35:01.000Z (over 6 years ago)
- Last Synced: 2026-02-13T08:51:01.417Z (5 months ago)
- Language: Go
- Size: 1000 Bytes
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# go-serve
https://hub.docker.com/r/youpy/go-serve
## Usage
```Dockerfile
FROM node:alpine as builder
COPY . ./
RUN yarn && yarn build
FROM youpy/go-serve
COPY --from=0 /build ./build/
```
```
$ docker build -t image-name .
$ docker run --rm -p 5000:5000 image-name
```