Compare commits
No commits in common. "8ea6638d5a1baf945c29412d269e009f03e3af58" and "3265564835282d06d21f4f24e5dcbe9b49d23ae3" have entirely different histories.
8ea6638d5a
...
3265564835
2 changed files with 1 additions and 4 deletions
|
@ -17,9 +17,6 @@ WORKDIR /build
|
||||||
# COPY --from=client /build/dist /runner/public
|
# COPY --from=client /build/dist /runner/public
|
||||||
COPY --from=client /build/dist /build/static
|
COPY --from=client /build/dist /build/static
|
||||||
|
|
||||||
# Get the dependencies
|
|
||||||
RUN go mod download
|
|
||||||
|
|
||||||
# RUN go build -o server
|
# RUN go build -o server
|
||||||
RUN CGO_ENABLED=1 GOOS=linux go build -a -installsuffix cgo -o server
|
RUN CGO_ENABLED=1 GOOS=linux go build -a -installsuffix cgo -o server
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
PRAGMA foreign_keys = ON;
|
PRAGMA foreign_keys = ON;
|
||||||
|
|
||||||
CREATE TABLE IF NOT EXISTS users (
|
CREATE TABLE IF NOT EXISTS users (
|
||||||
id INTEGER PRIMARY KEY,
|
id SERIAL PRIMARY KEY,
|
||||||
username VARCHAR(255) NOT NULL,
|
username VARCHAR(255) NOT NULL,
|
||||||
password VARCHAR(255) NOT NULL
|
password VARCHAR(255) NOT NULL
|
||||||
);
|
);
|
Loading…
Reference in a new issue