basic backend and frontend communication done
This commit is contained in:
@@ -2,11 +2,13 @@ FROM scratch
|
||||
|
||||
# Copy in the binary and settings file
|
||||
COPY goInventorize-linux-amd64 /
|
||||
COPY frontend/build /frontend
|
||||
|
||||
ENV PORT=3000
|
||||
ENV PORT=3500
|
||||
# Export necessary port.
|
||||
EXPOSE 3000
|
||||
EXPOSE 3500
|
||||
# Add the timezone information for golang
|
||||
ADD https://github.com/golang/go/raw/master/lib/time/zoneinfo.zip /zoneinfo.zip
|
||||
ENV ZONEINFO /zoneinfo.zip
|
||||
|
||||
# Command to run when starting the container.
|
||||
ENTRYPOINT ["/goInventorize-linux-amd64"]
|
Reference in New Issue
Block a user