FROM golang:alpine as builder
RUN \
mkdir /build && \
echo "app:x:10001:10001:app:/app:/bin/false" > /app-user && \
echo "app:x:10001:" > /app-group
COPY src/* /build/
WORKDIR /build
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package main | |
| import ( | |
| "fmt" | |
| "os" | |
| "os/signal" | |
| "syscall" | |
| ) | |
| func main() { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import * as qs from "qs"; | |
| import { PathLike } from "fs"; | |
| export const apiConfig = { | |
| returnRejectedPromiseOnError: true, | |
| withCredentials: true, | |
| timeout: 30000, | |
| baseURL: "https://jsonplaceholder.typicode.com/", | |
| headers: { | |
| common: { |
I hereby claim:
- I am andreswebs on github.
- I am andreswebs (https://keybase.io/andreswebs) on keybase.
- I have a public key ASCm8ZBq-D52q-dZgrnvSRd39CPb0LQe4qmDH0H6l5lyLAo
To claim this, I am signing this object:
NewerOlder