basic backend and frontend communication done

This commit is contained in:
2021-08-29 15:06:00 -04:00
parent b9ee7d0790
commit 542c6e32c8
11 changed files with 209 additions and 2658 deletions

View File

@@ -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"]