Add publics to docker imge
This commit is contained in:
parent
c814505b8d
commit
efad3bb70b
16
Dockerfile
16
Dockerfile
|
@ -16,12 +16,14 @@ ENV DATA=/data
|
||||||
|
|
||||||
EXPOSE 80
|
EXPOSE 80
|
||||||
|
|
||||||
WORKDIR /app
|
|
||||||
|
|
||||||
COPY --from=builder /app/bin/trakr .
|
|
||||||
|
|
||||||
RUN chmod +x /app/trakr
|
|
||||||
|
|
||||||
RUN mkdir /data
|
RUN mkdir /data
|
||||||
|
|
||||||
ENTRYPOINT ["/app/trakr"]
|
WORKDIR /app
|
||||||
|
|
||||||
|
COPY --from=builder /app/bin bin
|
||||||
|
COPY --from=builder /app/public public
|
||||||
|
|
||||||
|
RUN chmod +x /app/bin/trakr
|
||||||
|
|
||||||
|
|
||||||
|
ENTRYPOINT ["/app/bin/trakr"]
|
||||||
|
|
Loading…
Reference in New Issue