1
0
mirror of https://github.com/mgerb/go-discord-bot synced 2026-01-09 08:32:48 +00:00

update docker images in build

This commit is contained in:
2019-08-24 14:29:32 -05:00
parent 40f7ca47ce
commit 5687265066

View File

@@ -1,12 +1,11 @@
FROM node:8.11.1-alpine
FROM node:10.16-alpine
WORKDIR /home/client
ADD ./client .
ADD ./client/ /home/client/
RUN npm install
RUN npm run build
FROM golang:1.10.2-alpine3.7
FROM golang:1.12.9-alpine3.10
WORKDIR /go/src/github.com/mgerb/go-discord-bot/server
COPY --from=0 /home/dist /go/src/github.com/mgerb/go-discord-bot/dist
@@ -19,7 +18,7 @@ RUN packr build -o /build/bot
RUN go build -o /build/bot-scripts ./scripts
FROM wernight/youtube-dl
FROM wernight/youtube-dl:latest
RUN apk update
RUN apk add ca-certificates opus-dev opusfile-dev